title: Actionscript 3 message box?
body: <p>I need to show a modal confirmation dialog with yes no buttons and get the results what the user has clicked in ActionScript 3</p>
  
  <p>ok save diaglog does not who up when  exit is called the application just exits.                                                   </p>
  
  <pre><code> Alert.show("Do you realy want to delete", "My Title", 3,null,
          function alertClickHandler(event:CloseEvent):void
          {
                if (event.detail==Alert.YES)
                {
                   canvas.save();     // does not popup when next line is present                        
                   exit();
  
                }
         } );
  </code></pre>
  
  <p>Abdul Khaliq</p>