cerrar aplicacion flash as3


/ Published in: ActionScript 3
Save to your folder(s)

boton para cerrar flashplayer


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.