var loadImg:Loader=new Loader();
loadImg.load(new URLRequest("background1.swf"));
addChildAt(loadImg,0);
loadImg.contentLoaderInfo.addEventListener(Event.COMPLETE,comPleteHandler);
function comPleteHandler(e:Event) {
var bp:Bitmap = (loadImg.content as Bitmap);
bp.height = 600;
bp.width =1002;}

- 评论:(0)
发表评论 点击这里获取该日志的TrackBack引用地址