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-13-2001, 07:12 PM   #1
Dutcherr
Registered User
 
Join Date: Mar 2001
Posts: 4
Send a message via AIM to Dutcherr
Unhappy

Hey, I have a question concerning button actions using flash5. I am unable to create and activate a quit button. I want to offer both replay and quit buttons at the end of my projects. Can anyone help? Please reply asap. Thanks.
Dutcherr is offline   Reply With Quote
Old 03-13-2001, 10:37 PM   #2
mgb
New Member
 
Join Date: Jan 2001
Posts: 245
Default

Use the fs command 'quit' (no arguments)

~mgb
mgb is offline   Reply With Quote
Old 03-15-2001, 09:28 AM   #3
loydthefarmer
Registered User
 
Join Date: Feb 2001
Location: the farm
Posts: 52
Send a message via AIM to loydthefarmer
Question

On a totaly unrelated note your name does not happen to be amie does it?
loydthefarmer is offline   Reply With Quote
Old 03-15-2001, 02:46 PM   #4
Dutcherr
Registered User
 
Join Date: Mar 2001
Posts: 4
Send a message via AIM to Dutcherr
Question Quit button still not working, can anyone help?

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-15-2001, 04:02 PM   #5
Strok
Registered User
 
Join Date: Nov 2000
Location: Toronto Canada
Posts: 789
Send a message via ICQ to Strok
Default

MGB is 100% right

use a
---------------------------------------------
on (release) {
fscommand ("quit");
}

If you want to close EXE project
----------------------------------------------

or

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

If you whant to close HTML page with flash
Strok is offline   Reply With Quote
Old 03-15-2001, 06:40 PM   #6
mgb
New Member
 
Join Date: Jan 2001
Posts: 245
Default

Hi Dutcherr,

"no arguments" means theres no arguments associated with the 'quit' command, so just leave the field blank. All you need do is select quit from the dropdown or type it in and you're finished.

~mgb
mgb is offline   Reply With Quote
Old 04-04-2007, 04:21 PM   #7
xramadon
Registered User
 
Join Date: Apr 2007
Posts: 2
Default Quit in AS 3.0

Anybody got a clue on how to make a quit button work in AS 3.0?

Can't seem to find any global functions that would tell the application to quit.

-x
xramadon 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
multiple actions to button problem Polett ActionScript 2.0 25 06-17-2006 07:58 AM
one button controlling multiple actions sorciereus ActionScript 2.0 10 04-14-2006 10:13 PM
one button completing multiple actions sorciereus Flash 8 General Questions 1 04-11-2006 10:30 AM
2 events with small button above a large button blob ActionScript 2.0 8 01-05-2005 06:26 AM
HELP: Button in Movieclip with actions = Can't work escapeme ActionScript 1.0 (and below) 1 09-20-2004 09:26 AM


All times are GMT. The time now is 09:34 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.