flex4 点滴
1、由于RemoteObject未实现mx.core.IUIComponent,它必须包含在中 2、flex3中自定义控件,加载时直接定义xmlnx:**即可使用。在flex4中,自定义控件,需要加在fx:Declarations中,如: fx:Declarations <c:MainController id="controler" /> </fx:Declarations>
3、Application的监听或派发事件。 flex3中可以直接用Application.application.addEventListener,在flex中,不能再用此方法,要改为: FlexGlobals.topLevelApplication.addEventListener(event,func);
由于RemoteObject未实现mx.core.IUIComponent,它必须包含在中 怎么解决的?