PDA

View Full Version : Loading and unloading


jeffcravener
01-31-2003, 02:04 AM
ok...the first site I did, i was told it was too big and I should make each scene a different SWF file...

so, here is what I have after the intro is done:

stop();
if (nextmovie == 0){
_root.loadMovie("Site2about.html", _self);
_root.unloadMovie();
}

It does unload the current SWF but it doesn't load the about movie. I am not getting any errors....any idea what I am doing wrong?

Thanks,

Jeff
www.eljefestudios.com

Billy T
01-31-2003, 02:17 AM
um loadMovie is not designed to load html pages

you should use geturl or change the action to something like

loadMovieNum("Site2about.swf", 0);

cheers

jeffcravener
02-01-2003, 12:57 AM
ahhhhhhhhhh...THANK YOU...works PERFECTLY....

almost...haha..

it does load the movie, so thats cool...but...once that movie gets to a certain point, i want the main movie to go to it's next frame and play a sequence of frames..

I had this:
on, say, frame 10 of the loaded movie i had this:
_level1.nextframe();

but its not working...any ideas?

Billy T
02-01-2003, 01:26 AM
is the main movie level1?

have a read of this - http://www.tableau.com.au/tutorials/load_movie_tute/index.html

cheers

jeffcravener
02-01-2003, 02:31 AM
link...thank you....

I have gone to the next level...but another problem arose...and it even mentions it in there....but one of the MCs that are inside the main movie is 'behind' the loaded movie...

I read what it says about swapping and i can't get it to work...

here's what I have tried:

on a keyframe in the main movie:
dance_mc1.swapDepths(_level10);
dance_mc1.swapDepths(level10);
dance_mc1.swapDepths(10);
_root.dance_mc1.swapDepths(_level10);
_root.dance_mc1.swapDepths(level10);
_root.dance_mc1.swapDepths(10);

none of these worked...sigh...sorry to keep bothering you guys...

Billy T
02-01-2003, 06:04 AM
nah you cant use swapDepths to swap levels

you will need to put the mc you want on top into and another swf and load it into a higher level

cheers