So say I have an MXML component called Main.mxml and another called
Customers.mxml.  From Customers.mxml, I dispatch an event like so:

     var f:Event = new Event("newCustomerRegistered", true);
     dispatchEvent(f);

In my Flex way of doing things, if I wanted to catch that event in the
Main.mxml, I attached a listener to the  systemManager.stage like so:

     systemManager.stage.addEventListener("newCustomerRegistered",
updateDatabase);


systemManager.stage was a base that all events from all components could be
heard as they bubbled up and I loved it.  But I don't find it in Royale. 
How can I attach a listener to my Main.mxml in Royale so that it can hear
events dispatched from all other components?



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply via email to