This content has been marked as final. Show 4 replies
Read my post on menubar. You can easily modify to change states instead of view stack.
I originally tried your post and when I paste it into FlexBuilder I get the error message:
Type was not found or was not a compile time constant: HomeView
Type was not found or was not a compile time constant: AboutUsView
Type was not found or was not a compile time constant: ChangePasswordView
The menu bar dispatches an itemClick event, showing wich item was choosed , knowing that you simply has to make something like currentState="yourstate"
see this at livedocs
You recieved that error because the components don't exist on your system. Simplet create new MXML Components with the following names and you are all set.