Posted by hassan_kahrizy in SWF Studio V3 on Feb 15 2011, 02:40 am

IN THE NAME OF GOD
Hi
I have a flash file and want to make exewith swf studio
but i have button minimize and close in flash
what script i write for buttons?

thanks


Posted by northcode in SWF Studio V3 on Feb 15 2011, 09:36 am

You need to put this in the function that gets called when your button is activated...


ssCore.Win.minimize({});


Posted by hassan_kahrizy in SWF Studio V3 on Feb 16 2011, 10:36 am

Hi
Thanks alot
But What Script for Close Projec?


Posted by northcode in SWF Studio V3 on Feb 16 2011, 10:55 am

You can use

fscommand("quit", "");
or

ssCore.App.quit({});
Either one will work.