I am using a stateManager type setup with my new flex app. I have one
mxml file that holds all the information about various states with in
my app. And I am using a menubar that will allow users to navigate
through these states. I am having a bit of trouble getting this to work. 

I am using this function to change teh state.
  private function menuHandler(event : MenuEvent) : void {

        stateManager.currentState = [EMAIL PROTECTED];
    }

I have imported the component stateManager with this.
   import components.managers.stateManager;

When I try to compile I get this error.

Access of possibly undefined property currentState through a reference
with static type Class.

Can someone give me a bit of help with this.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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