ITeye博客

flex4 点滴

牧羊人 · 2010-06-07 10:21 · flex4 · Web前端 · Markdown

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);

评论(1)

  1. #1 楼 · derta2009 · 2011-02-21 16:04

    由于RemoteObject未实现mx.core.IUIComponent,它必须包含在中 怎么解决的?

评论功能维护中,当前仅展示历史评论。