IN the mxml component for both buttons say : click="doButtonAction (event)" and in the handler do if condition by : if(event.currentTarget.label = "ur label")
hope this helps u On Mar 6, 2:19 pm, sankar swaroop <[email protected]> wrote: > Hi all ; > I made an action when a button was clicked. > But here i want to make an action by knowing which button was clicked. > I want to make two actions with a button click-- > 1. button click event > 2.Depending on the label of the button clicked i want to > make another action by checking with if() condition. > > Please give me a solution. > > Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

