| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
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.
|
|
|
|
|
|
#2 |
|
New Member
Join Date: Jan 2001
Posts: 245
|
Use the fs command 'quit' (no arguments)
~mgb |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
|
On a totaly unrelated note your name does not happen to be amie does it?
|
|
|
|
|
|
#4 |
|
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!!
|
|
|
|
|
|
#5 |
|
Registered User
|
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 |
|
|
|
|
|
#6 |
|
New Member
Join Date: Jan 2001
Posts: 245
|
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 |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Apr 2007
Posts: 2
|
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 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |