1 Reply Latest reply on Mar 22, 2010 7:27 AM by Ibarim

    Custom event in flex

    Karthik@Chennai Level 1

      Hi All,

      How to dispatch and listen to customized event in Flex using Event Class between parent and child pop up movie.



        • 1. Re: Custom event in flex
          Ibarim Level 1


          I think it should work like this:


          Child code:

          parent.dispatchEvent(new Event("something"));

          Parent code:

          addEventListener("something", functionName);




          Child code:

          dispatchEvent(new Event("something"));

          Parent code:

          child.addEventListener("something", functionName);


          I'm not sure if it works for pop-ups thou