You're FScommand is wrong... I'm pretty sure you need the blank
argument as well.
Try:
on (release, releaseOutside ) {
this.gotoAndStop ('buttonUp');
getURL("javascript:window.close(this)");
fscommand("quit","");
}
(Extra blank argument to the end of the quit)
Dan
On 2 Jun 2006, at 14:42, Simon Turner wrote:
I am trying to get a browser window to quit upon completion of a
Flash based Assessment.
It is running on a touch screen till using the html file generated
when the fla file is published. Everything works fine until the
assessment is required to quit - but the current coding i am using
will not do this.
please have you any ideas or work rounds that i may use or try?
current code is ....
on (release, releaseOutside ) {
this.gotoAndStop ('buttonUp');
getURL("javascript:window.close(this)");
fscommand("quit");
}
many thanks
Simon
Dan Efergan
[EMAIL PROTECTED]
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com