Flex PopUpManager弹出窗口事件捕获

PopUpManager弹出窗口由于不是Application的子对象,因此弹出窗口分发的事件在主应用程序中是无法接收的。

PopUpManager弹出窗口结构如下图:

Flex PopUpManager弹出窗口事件捕获_第1张图片

因此,要想捕获PopUpManager弹出窗口分发的消息,必须在systemManager中监听。代码如下:

this.systemManager.addEventListener(event, eventHandler);


你可能感兴趣的:(Flex,application)