[Flash] FS_Command or Got_Focus?
6 answers - 136 bytes -

i have an swf file, which is an image of a close and minimize button!
what method should i use? to get this swf file working...
No.1 | | 41 bytes |
| 
What the heck are you talking about man ?
No.2 | | 252 bytes |
| 
here's my swf file!
i just want them to be working...
of course, when i clicked the close button the project will close/end!
and if minimize the project will minimize...
now, what should i use the FS_Command or got_focus?
No.3 | | 89 bytes |
| 
To close your swf from a button click...
on (release) {
fscommand ("quit");
}
No.4 | | 33 bytes |
| 
How To Code The Minimize Buttton?
No.5 | | 172 bytes |
| 
To close your swf from a button click...
on (release) {
fscommand ("quit");
}
i can't understand the code... :confused: :confused: :confused:
No.6 | | 135 bytes |
| 
In your button you place your action script that I posted. When you do a mouse button up it will run the code which will quit your swf.