PDA

View Full Version : unloading a movie


Saud Ahmed Khan
04-14-2001, 07:32 PM
Hello my people!!!
1. I have a problem unloading a movie.....pretty simple eh?
but ....suppose i load a movie on to a target...then give the unload movie command ...it says movie not found or somethin similar.What I want to know is....suppose I have a movie runnin on my main....and i load a movie into that target, how do i unload it and bring in the previous movie into that location ,where the prvious movie is not an external swf,but a part of the main.

2.My second one is ..does flash support Ampi3D files....if yes, I have a problem axporting them. Please guide.

keep flashin'

Jesse
04-15-2001, 12:36 AM
So you've loaded a movie into a blank MC and you want to unload that MC, correct?

Let's say your MC is on the main stage and it's called 'target' (instance name).

Your load code would be:
loadMovie ("1.swf", "_root.target");

And your unload code (on a button for example):
on (release) {
unloadMovie ("_root.target");
}

Cheers

Jesse