Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > Simple Stuff (Newbies)

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-15-2001, 02:48 PM   #1
Dutcherr
Registered User
 
Join Date: Mar 2001
Posts: 4
Send a message via AIM to Dutcherr
Unhappy

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!!
Dutcherr is offline   Reply With Quote
Old 03-16-2001, 05:28 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Old 08-12-2005, 02:27 PM   #3
Nick Toye
Registered User
 
Join Date: Jun 2003
Posts: 434
Default

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.
Nick Toye is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 07:13 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.