00:00
00:00
Newgrounds Background Image Theme

Rashioken just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

AS: unloadMovie()

1,148 Views | 2 Replies
New Topic Respond to this Topic

AS: unloadMovie() 2005-12-13 02:04:23


AS:Main

AS: unloadMovie

To use this you got to have read AS: loadMovie() by Spamburger first.

unloadMovie(level/target)

Introduction
Well, this is used if you have loaded a movie using loadMovie() function above.
I'm not sure if this qualify as a new AS:Thread but I think it will since it helps you :)

Usage
The easiest way is to only target the target the movie lies on.
For example, if you have used
loadMovie("http://www.link.swf", mc);
You can use this to unload it:
unloadMovie(mc);

And if you got the movie on a specific level like this (not covered in the loadMovie()):
loadMovie("http://www.link.swf", 2);
You can use this to unload it:
unloadMovie(2);

Kinda simple, eh?
But I did it so you can stop the movie from loadMovie which is kinda useful.

~GWHC


BBS Signature

Response to AS: unloadMovie() 2005-12-13 02:06:27


At 12/13/05 02:04 AM, GuyWithHisComp wrote: unloadMovie(level/target)

now youre getting excessive. this belongs as an appendix to spam's loadMovie() thread, since they are linked together. just post this there. it doesnt need its own thread.


BBS Signature

Response to AS: unloadMovie() 2005-12-13 05:25:08