2 Replies Latest reply on May 26, 2009 11:37 AM by Gregory Lafrance

    Doing two things on 1 click of a Button

    FlexHelpNeeded Level 1

      Hey Guys..


      Is this possible??


      I have a button


      <mx:Button label="Testing" id="test" click="currentState='State2'" top="10" horizontalCenter="64"/>

      Now what I want to happen is.. When the button "Testing" is clicked


      1) Call the state 'state2' (which is happening)




      2) do the following



      Both should happen at the same time. Is it possible to put both in the same syntax??