-
Closing externally loaded movies
Hey.
If you load a movie into another movie (through the target rah rah) how do you close it once it has finished?
Is it like:
'UnLoadMovie'
Or a function like that?
An example code would be appreciated .
Cheers.
--
JC
-
FK'n_dog
clipInstanceName.loadMovie("a.swf"); // load
clipInstanceName.unloadMovie(); // unload
-
So do I randomally name the instances?
And can I place the unloadMovie at the end of the movie I want to unload?
This works for when they are laodeed into an instance yes?
-
FK'n_dog
So do I randomally name the instances?
I would use an instance name that makes sense to you
clipInstanceName was used as an example.
when loading movies/jpegs into a movieclip instance
I tend to use "container" or "holder" as the instance name
And can I place the unloadMovie at the end of the movie I want to unload?
Yes. The code is - unloadMovie(this);
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|