Groups | Blog | Home
all groups > flash actionscript > june 2005 >

flash actionscript : closing a flash window with action scripts



april_f
6/4/2005 10:01:28 PM
I would like for the flash window to close after playing an animation on it. So
is there any action script I can put in the last frame in the animation to
close the window? (I dont want to have any close buttons)

Thanks ,

april
kaunietiz
6/4/2005 10:26:05 PM
Use fscommand("quit");

schleifnet
6/6/2005 1:30:44 PM
XmenFlash
6/6/2005 1:46:25 PM
april_f
6/6/2005 8:20:46 PM
this is what i have on the button that takes you to the animation:

on (release) {
gotoAndPlay("animation");
getURL ("javascript:window.close();");
}

and instead of playing the animation then closing the window all together,
like i want it to, it just closes the window. any ideas?
NSurveyor
6/6/2005 8:33:01 PM
AddThis Social Bookmark Button