2 Replies Latest reply on Dec 6, 2010 11:17 AM by GordonSmith

    events question...

    mr_payne

      Hi Gang...

       

      I have created a simple component called called "Watcher"  that uses -->  addEventListener(Event.ENTER_FRAME, monitor);

       

      I then create a new component "Watcher1" which extends "Watcher"...

       

       

      How can Watcher send info to Watcher1 when something happens...

       

      public  function monitor(e:Event):void{

       

         ...

         ...

         //send info to Watcher1 that something important has happened...

      }

       

       

       

       

       

      Is it possible to do something like :

       

      Watcher1.addEventListener( ??????, gotMonitorMessage);

       

       

      thanks