摘要: 多次Loader的问题需要把图像的源缓存下来。我是放经了实体对象中data.bitmap=Bitmap(e.target.content);空白的问题image.source = new Bitmap((data.bitmap as Bitmap).bitmapData.clone()); 阅读全文
posted @ 2011-04-01 17:42 骨头 阅读(239) 评论(0) 推荐(1)
摘要: <mx:Image id="img" maintainAspectRatio="true" scaleContent="true" horizontalCenter="0" verticalCenter="0" source="{source}"/>在加载完图片后Bitmap(img.content).smoothing = true;img.percentHeight = 100;img.percentWidth = 100; 阅读全文
posted @ 2011-04-01 12:56 骨头 阅读(1563) 评论(0) 推荐(0)