Posted By

mioestudio on 03/30/11


Tagged

close quit cerrar


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Josueriv


cerrar aplicacion flash as3


 / Published in: ActionScript 3
 

boton para cerrar flashplayer

  1. import flash.system.fscommand;
  2.  
  3. quit_mc.addEventListener(MouseEvent.MOUSE_DOWN, closeApp);
  4.  
  5. function closeApp(event:MouseEvent):void
  6. {
  7.  
  8. fscommand("quit");
  9.  
  10. }

Report this snippet  

You need to login to post a comment.