1 Reply Latest reply on May 24, 2009 5:25 AM by _Natasha_

    Event bubbling from PopUp

    Mohd Fayaz Level 1

      How to listen to a event dispatched from a PopUp? The PopUp from an Application (as parent). However, the Application is not able to listen to the event.

        • 1. Re: Event bubbling from PopUp
          _Natasha_ Level 4

          Hi,

          as an example

           

          _customWindow = TitleWindow(PopUpManager.createPopUp(this, TitleWindow, true));

           

          _customWindow.addEventListener(CloseEvent.CLOSE, onCloseCustomVars);

          _customWindow.addEventListener("settingsChanged", onChangeCustomVars);

          PopUpManager.centerPopUp(_customWindow);