
ul.load(new URLRequest("路径"))
ul.addEventListener(Event.COMPLETE,areadyLoad)
Flex开发web程序,图片路径一般是写:相对路径或者直接采用embed标签编译在swf中的。杜绝写绝对路径。个人倾向:如果图片不大的话,采用embed标签,给你个例子:[ Embed (source="slice_9_grid.gif")]
[ Bindable ]
public var imgCls:Class
<mx:Image source="{imgCls}"/>
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)