Hi:

I want the menu bar choices in my app to change the app's current
state. In the code below, the correct value shows up in the alert when
one of the two active options is selected, but the state does not
change whether I use the first pattern or the second. What  am I missing?

private function menuHandler(event:MenuEvent):void  {
//Alert.show("data :" + [EMAIL PROTECTED]);
switch ([EMAIL PROTECTED]){
case "state2":
currentState="'" + [EMAIL PROTECTED] + "'";
break;
case "state3":
[EMAIL PROTECTED];
break;
    }
 }


Reply via email to