PDA

View Full Version : Quit button still not working


Dutcherr
03-15-2001, 01:48 PM
I tried what mgb advised. Still doesn't work. I tried fs command - then typed quit in the command box, then typed no arguments in the argument box. Am I supposed to check the expression box? What do I do with the command for standalone player box? Please help!!

Jesse
03-16-2001, 04:28 AM
For the standalone player the code should be:

on (release) {
fscommand ("quit");
}

or failing that,

on (release) {
fscommand ("quit", true);
}

For a browser-based presentation it should be.

on (release) {
getURL ("javascript:window.close()");
}


Cheers

Jesse

Nick Toye
08-12-2005, 01:27 PM
Hi Jesse,

For some reason it brings up an error when I run that bit of a code for a game that is based in a browser.

What version of flash player should it be in.