2 Replies Latest reply on Apr 15, 2010 2:14 PM by SpaghettiCoder

    Where does the data go? PopUp Window

    SpaghettiCoder Level 3

      K, I think I'm lost on this.

       

      I create a popup from the main application,

       

      I have a submit button.

       

      That has a event etc..

       

      <fx:Metadata>

           [Event(name="

       

      To pass the data from the popup to the main app,

       

      How do I catch that event from the main app though?

       

      When you do it with components <custom:Component

       

      you can just add a function handler in the mxml tag.

       

      But when it comes from the popup, there isn't a mxml tag to add a handler to.

       

      Popup was created in a function at  the time of a button press.