Copy link to clipboard
Copied
I'm making a quiz game in Flash CS5.5, and I don't know how to make a quit button.
I already know how to make a menu button, but I can't find an option for exiting the program.
Can anyone help?
first you decide what kind of app your making. then you can determine what you can and can't do.
if you're making an app that your users will install on their computers, then yes, use an air app and the code i suggested.
if you're making an online app, you can't create a button that will close a web-page (unless that page is a popup created using javascript).
Copy link to clipboard
Copied
is this a non-ios air app?
if so, use the nativeapplication exit() method.
Copy link to clipboard
Copied
I tried to use that, but I guess I did it wrong? It's a non-ios app/program, and I tried to do the native application method but it made my game have an error, and it just flashed through the program and never stopped 😕
Copy link to clipboard
Copied
then you're probably not making a non-ios air app.
Copy link to clipboard
Copied
Oh okay so I switch from flash player to air 2.5 or 2.6?
Copy link to clipboard
Copied
first you decide what kind of app your making. then you can determine what you can and can't do.
if you're making an app that your users will install on their computers, then yes, use an air app and the code i suggested.
if you're making an online app, you can't create a button that will close a web-page (unless that page is a popup created using javascript).
Copy link to clipboard
Copied
Thanks! I just thought there was no difference between all the things (besides the mobile stuff). Thanks for all the help, and sorry I'm a n00b lol
Copy link to clipboard
Copied
you're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now