Hi,

I'm creating a main menu component, which I've populated using XML for
the menu options, I then want the menu to change the main applications
state, depending on which menu option has been selected, but I'm
having trouble getting the events to works so I can fire an event in
the main menu which will change the state in the main application.

Do I need to fire an event in main menu component (mainmenu.mxml), but
how do I capture that the event has been fired in the main application
(main.mxml)?

I know that you can use addEventListener(), but all the examples I've
seen assign the addEventListener() method to a component, I don't I
want my main.mxml file to register to listen for the event I fire off
in the main menu?

Can anyone point out what I'm missing?

THanks 


Reply via email to