| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
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!!
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
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
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2003
Posts: 434
|
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. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| back button not working with as 2.0 | wwells3 | ActionScript 2.0 | 0 | 08-23-2006 05:19 AM |
| button rollover function not working | Navarone | ActionScript 2.0 | 7 | 08-09-2006 04:02 PM |
| 'show' and 'hide' button not working! | @bc | ActionScript 1.0 (and below) | 3 | 06-21-2006 06:58 AM |
| demo button not working | seal | ActionScript 1.0 (and below) | 19 | 08-07-2003 01:35 PM |
| Music On/Off Button not working - Help! | Karas | ActionScript 1.0 (and below) | 1 | 01-30-2002 11:04 PM |