`
牧羊人
  • 浏览: 211159 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

flex4 点滴

阅读更多
1、由于RemoteObject未实现mx.core.IUIComponent,它必须包含在<declaration>中
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);
分享到:
评论
1 楼 derta2009 2011-02-21  
由于RemoteObject未实现mx.core.IUIComponent,它必须包含在<declaration>中
怎么解决的?

相关推荐

Global site tag (gtag.js) - Google Analytics