随笔分类 - 拾人牙慧
摘要:在as3中,可以通过设置Bitmap的smoothing参数或属性值为true来实现在缩放时对位图进行平滑处理。那么从外部加载的图片,如何获得图片的bitmapData对象?可以这样,在图片加载完成的函数中:e.target.loader.content["bitmapData"]设置bitmap的smoothing属性var picLoad:Loader = new Loader(); picLoad.load(new URLRequest(picUrl)); picLoad.contentLoaderInfo.addEventListener(Event.COMPLET
阅读全文
摘要:TypeError: Error #1009: 无法访问空对象引用的属性或方法。 at mx.managers::PopUpManagerImpl/http://www.adobe.com/2006/flex/mx/internal::createModalWindow()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:701] at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\hero_private\frame..
阅读全文

浙公网安备 33010602011771号