Asma,
please add below event to your menubar
itemClick="menuitemclick(event);" click="menubarclick(event)"
Action script sample code
private function menuitemclick(event:MenuEvent):void {
if([EMAIL PROTECTED]"Personal"){
currentState = [EMAIL PROTECTED];
}
}
private function menubarclick(event:MouseEvent):void
{
if(myMenuBar.selectedIndex == 7)
{
currentState = "Login";
}
}
Regards,
Dhileepen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---