View Full Version : Close SWF file
veiky
09-22-2006, 06:59 AM
If my file is a projector file then fscommad("quit","true") works.
But if I publish movie as flash movie then it dosn't work?
How can I close the swf file?
Nakor
09-22-2006, 07:02 AM
Try taking out the "true" parameter. I can't remember using that when I used fscommands but that was a while ago so I'm not sure.
veiky
09-22-2006, 07:11 AM
You are talking about AS3.Even in that case it wont close the SWF file.
In AS3 the code is:
fscommad("quit");
Anyone knows how can i close swf file on click of a button?
Bowie
09-22-2006, 07:24 AM
from the flash documentation on fscommand:
Availability:
None of the commands described in the table are available in web players.
All of the commands are available in stand-alone applications, such as projectors.
Only allowscale and exec are available in test-movie players.
even if you could get it to work in a tested movie, or browser, (you can't) you'd have to spell fscommand correctly...
veiky
09-22-2006, 07:59 AM
Thanks Bowie...
But there has to be a way to close the SWF.
If not with fscommand some other way?
thanks...
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.