PDA

View Full Version : Closing a swf file.


yenae
12-21-2005, 04:56 AM
Here's one for ya'll. Self taught user here, so bare with me. I'm looking for the script to close a swf window. I'm loading an external swf into my main swf, and i want to give the option to close that external swf rather than the entire html window. Any help? Thanks yall
-A:p

Cota
12-21-2005, 04:58 AM
You want to remove the externally loaded SWF, or the entire Flash object all together..?

yenae
12-21-2005, 05:01 AM
the external swf only.

Cota
12-21-2005, 05:09 AM
You can use unloadMovie()

yenae
12-21-2005, 05:11 AM
wow. i feel smart. thanks man.

Cota
12-21-2005, 05:13 AM
I know there are sometimes issues with unloadMovie(), if you have a problem with it, like it isnt working, do a search for unloadmovie and you'll find the solution, I just dont know it off the top of my head..