This is a Flex question.  http://tech.groups.yahoo.com/group/flexcoders/



Jason Merrill 

Bank of  America  Global Learning 
Learning & Performance Soluions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)






-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of William
Chadwick
Sent: Monday, January 25, 2010 1:01 PM
To: [email protected]
Subject: [Flashcoders] MenuEvent causes 1046 error

I have a menu bar component

     <mx:MenuBar id="mainMenu" labelField="@label"
click="{MenuEvent(event)}"
                 itemClick="{MenuItemEvent(event)}">

Everytime I create a handler like this:

     private function MenuItemEvent(e:MenuEvent):void

I get a "Type was not found or was not a compile-time constant:
MenuEvent"

But, I've explicitly imported this event:

     import mx.events.MenuEvent;

Am I going mad? What am I doing wrong? I'm using standalone Flex Builder
3.0.2.214193 on Windows XP- not the Eclipse plug-in.

Please help,

William Chadwick
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to