PDA

View Full Version : Can't get fl.quit() to work


bigadjaye
02-25-2005, 11:58 AM
Hi all,

Can anyone tell me how to use the fl.quit(); command properly? I put the command inside a button but it doesn't exit my flash movie when I try it.


on(click){
fl.quit();
}


Anyone know what I'm doing wrong?

Thanks in advance :)

bigadjaye

Xeef
02-25-2005, 12:46 PM
fl.blabla are JSFL comands which are used to control the IDE
so fl.quit woud close you open project during authoring
you coud write some script for example which put a textfield in the corner of your FLA whit yourname in it and then quit the FLA and ask to save it ...
it's not working in a SWF !!!! how to close this see links or/and search for
"javascript close"

http://www.actionscript.org/forums/showthread.php3?t=59569&highlight=javascript+close
http://www.actionscript.org/forums/showthread.php3?t=61207&highlight=javascript+close