Alas they have broken menu bar. Even with the code you posted ted, it
still does the same thing. When I click on a child menu item, it go to
a blank screen instead of the called state.

Here is the code I am trying
function menuHandler( oEvent : Object) : void{
      currentState = oEvent.menuItem.data;}


--- In [email protected], "Ted Patrick" <[EMAIL PROTECTED]> wrote:
>
> Jeremy,
> 
> With Flex 2 Beta 2 make sure to use return types for all functions.
There are some hidden gotchas if you do not do this. In the function
below I added the return type of "void".
> 
> Try:
> 
> function menuHandler( oEvent : Object ) : void
> {
>      currentState = oEvent.menuItem.data;
> }
> 
> That error keeps biting me also!
> 
> Cheers,
> 
> Cynergy Systems, Inc.
> Theodore Patrick
> Sr. Consultant
> [EMAIL PROTECTED]
> tel: 1.866.CYNERGY
> http://www.cynergysystems.com
> ________________________________________
> 
> 
> From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Jeremy Rottman
> Sent: Tuesday, March 28, 2006 3:40 PM
> To: [email protected]
> Subject: [flexcoders] Re: Menu Bar Killing me. Can someone help.
> 
> With what you suggested, it changes the state to a blank screen,
> instead of showing the state it should have called.
> 
> Here is what I am trying now.
> 
> function menuHandler(oEvent:Object) {
> currentState = oEvent.menuItem.data;
> }
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to