title: Using Alert.show in Flex 3
body: <p>In Flex 3, when I use</p>
  
  <pre><code>Alert.show("some text");
  </code></pre>
  
  <p>I will get an alert message along with the OK button. When I press the OK button I get another alert message. I have tried the following code, but it's not working.</p>
  
  <pre><code>Alert.show(" Simulation for " + id_formulator.nme + " Campaign", null, mx.controls.Alert.OK, this, alertListener, null, mx.controls.Alert.OK);
  
  private function alertListener(eventObj:Event):void {
      if (eventObj.detail == mx.controls.Alert.OK) {
          Alert.show("next message");
      }
  }
  </code></pre>