Close Script for a Flash EXE?

In Macromedia Director you have a simple script one can put on a button to close the entire window of a Director EXE file one has made and exported out, you just write:

“on mouseUp (if it’s a button)
quit
end”

But the big question is: Can I do this in a Flash EXE file??? Does anyone have the script? Does it work on both MAC and PC?
If anyone could help me with this I’d be very gratefull!

Shagrat

FSCommand controls the projector…

I think it is quit as well…

Rev:elderly:

Any suggestions how to write this script then?

on (release) {
fscommand (“quit”);
}

Rev:elderly:

Thank you! Thank you so much!!!

down on all fours kissing your feet

You’ve saved my day! If I could I’d have your baby in return!!!

Glad to help.

F1 will give you a lot of answers, as well, but feel free to ask away…

Rev:elderly: