I am very new to Flash Lite (and Flash). Just learning the basics.
I need to add an "Exit" button to my flash app. I have added the following code to exit the app when the button is pressed:
This works OK when play on the Flash player in Windows, but it does not work in the phone (tested on N97 and 5800).Code:onMouseDown = function(){ if(exitbut.hitTest(_xmouse, _ymouse, true)){ trace("exit"); exitbut.gotoAndPlay(10); fscommand("Quit"); } }
What would be a correct code to exit when the button is pressed?




