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.

      regards,

      karthik

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

          Hi,

          I think it should work like this:

           

          Child code:

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

          Parent code:

          addEventListener("something", functionName);

           

          or

           

          Child code:

          dispatchEvent(new Event("something"));

          Parent code:

          child.addEventListener("something", functionName);

           

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