在AS2.0之前,我们是使用flash 内置函数loadMoive()
如:
mc.loadMovie("mc.swf")
loadMovieNum("mc.swf",0)
而在AS3.0中,.我们则使用Loader()
如:
var url:String = "image.jpg";
import flash.display.Loader;
import flash.net.URLRequest;
var ldr:Loader = new Loader();
addChild(ldr);
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
本文标签:
本文Url: http://levinchiu.com/blog/post/13.html (出自: LevinChiu Personal Official Blog)
我要引用: 点击这里获取该日志的TrackBack引用地址
相关文章:
本文Url: http://levinchiu.com/blog/post/13.html (出自: LevinChiu Personal Official Blog)
我要引用: 点击这里获取该日志的TrackBack引用地址
相关文章:
