【发布时间】:2011-10-26 15:42:25
【问题描述】:
我的滚动条组件中有一些图像...滚动滚动条时有时会挂起一秒钟...我认为图像正在加载...是否可以在滚动条就位之前加载图像? !....
【问题讨论】:
-
当您说“Scroller”时,您是指 List 组件吗?还是别的什么?
-
我想他的代码看起来像
<s:Scroller><s:Image source="someImage"/></s:Scroller>。您的图像是嵌入的还是链接到路径? -
一些代码:
<s:Scroller id="snapper" x="0" y="0" width="100%" height="100%"> <s:HGroup gap="0" width="100%" height="100%"> <s:Image width="{snapper.width}" height="100%" source="1314004166_768x1024_elegant-scenery-iphone-5-wallpaper.jpg"/> .... // more Images </s:HGroup> </s:Scroller>
标签: apache-flex image mobile air preload