【发布时间】:2011-09-08 20:19:59
【问题描述】:
我有一个 headerbar.mxml,当用户在我的应用程序中 swipes_down 时显示。 headerbar.mxml 包含一个按钮组件,我想在主应用程序窗口中运行 erase()。主应用程序是一个绘图应用程序,其中包含一个erase()。我只是不知道如何从另一个 mxml 视图文件中调用函数。我认为它会类似于 click="{mainwindow.drawPanel.erase()}";
编辑:
protected function onColorChange(event:List):void{
appHome.drawArea.erase();
}
【问题讨论】:
标签: apache-flex components swipe