/ Published in: ActionScript 3
boton para cerrar flashplayer
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import flash.system.fscommand; quit_mc.addEventListener(MouseEvent.MOUSE_DOWN, closeApp); function closeApp(event:MouseEvent):void { fscommand("quit"); }