3 Replies Latest reply on May 26, 2009 4:32 AM by FlexHelpNeeded

    How to autoclick/run a button after Alert.Show() Event?


      Hey Guys


      So I have a alert.show happening for something like


      public function test(evt:ResultEvent):void
       if (evt.result.success == "yes")
       if (evt.result.success == "no")


      Now I have another button called


      <mx:Button label="Reload" id="Reload" />


      I want that if the sucess == yes scenario is run.. After the popup box comes and a person click OK.. the reload button is run..


      Please tell me how to do so??