用的FLEX4.5一段时间发现他和之前的版本还是有许多不一样的地方,而对Loader的加载也是不一样的,在加载之前,你必须声明一个UIComponent然后才能加载成功(是不是在FLEX对像都是继承于UIComponent?我感觉是哈)
看到例子:
var lunchScreenUicomment:=new UIComponent(); var newLoader:Loader=new Loader(); luchScreenUicomment.addChild(newLoader); this.addElement(lunchScreenUicomment);
浙公网安备 33010602011771号