Loading Movies

How do I go about loading a movie from another location within a flash document? I read the tutorial on making a full flash site but Iā€™m a complete newbie to flash so it didnā€™t really help!

Cheers, J

How would I take the following code :

but.onPress = function () {
_root.createEmptyMovieClip(ā€œcontainerā€, 1);
loadMovie(ā€œloaded.swfā€, ā€œcontainerā€);
container._x = 150 ;
container._y = 20 ;
}

Except to unload the movie? Also is there anyway of making a pause button?

if you want to unload a movie with a button, do this:

button.onRelease = function () {
container.unloadMovie();
};

pause buttons could be done something like this:

button.onRelease = function () {
container.stop();
};

then just start it again with play();

thanx :slight_smile:

No probs

ok just tried to actually use that codeā€¦ how do I know what the name is of each level?

doesnt matter got it working :slight_smile:

this has been what i have been looking for aswwell how to load like a whole bunch of movies externally into containers on the stage, that are spaced around the site as sections :)))

thanks :slight_smile:

by the way what did you do with the levels problem rockstar???

I just told it to unload ā€œcontainerā€ :slight_smile: Worked a treat :slight_smile:

When did you edit your post and change it from level to container SF? I just noticed it there now it was pickleing my little head all day lolā€¦

I donā€™t remember. probably just after I posted it. Iā€™ve got lots of things on my mind :stuck_out_tongue:

lol it confuuuuuuuuuused my little heeeead :stuck_out_tongue:

hehe :wink: