title: Focus In /out Problem - button is not focused
body: <p>When I press the <strong>*OK</strong> button of the alert box I want the <strong>txtOther.textbox</strong> to be in focus.
  Here the txtbox is focused when the alert box is displayed and when I press the OK button of the text box the <strong>txtOther.textbox</strong> is not in focus.</p>
  
  <pre><code>MXML SCRIPT:
  
  &lt;mx:Canvas id ="parentCanvas1" label="General" &gt;
  &lt;mx:VBox id="parentBox1"&gt;
  &lt;mx:Canvas id="cvsGeneral"&gt; 
  &lt;mx:TextInput id="txtOther" focusOut="txtOther_Validate();"/&gt;
  &lt;/mx:Canvas&gt;
  &lt;/mx:VBox&gt;                              
  &lt;/mx:Canvas&gt;
  
  &lt;mx:Canvas id="parentCanvas2" &gt;
  &lt;mx:HBox id="parentBox2" &gt;
  &lt;mx:Button label="Save" id="btnSave" click="txtOther_Validate();" /&gt;
  &lt;/mx:HBox&gt;
  &lt;/mx:Canvas&gt;
  
  ////////////Action script////////////////////
  public function txtOther_Validate(): void {     
       // here lets assume that the result variable is stored as "FAILURE"     
      if(result == "FAILURE"){  
          Alert.show("Please enter a valid Format Mask.");        
           txtOther.setFocus(); //   
           } 
  }
  </code></pre>
  
  <p>Here even when the alert box is displayed the focus of the txtother.textbox is also set. But after pressing the OK button of the alert the Focus of the TxtOther.text box is not set. So here I want to trigger the foccus event after pressing the OK button of the alert window and not before. How to do that...</p>