flex如何在组件中调用父级变量

(this.parent as 父级类型).父级变量;
父级类型即父级mxml的名称
这种方法适合使用addchild添加的子级,如果是使用的PopUpManager的方法,
需要使用this.parentApplication.父级变量

posted @ 2009-09-02 09:34  94cool  阅读(955)  评论(0)    收藏  举报