Try "change" event

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Steven
Sent: Monday, September 24, 2007 7:27 AM
To: [email protected]
Subject: [flexcoders] Detecting click of menubar on root

 

I am creating a menubar that does not have any drop down items and I am
not sure how to detect clicks on these "root" menu items.

 

The following function only appears to detect clicks on drop down items

 

private function menuHandler(event:MenuEvent):void  {

                Alert.show("Label: " + [EMAIL PROTECTED] + "\n" + 

                    "Data: " + [EMAIL PROTECTED], "Clicked menu item");

 } 

 

I basically just have a one tier menu as follows:

 

Help | Configure | Quit

 

Thanks in advance

 

Paul

 

Reply via email to