PDA

View Full Version : Problem with my paths.



earph
August 21st, 2003, 03:44 PM
The buttons my _root aren't talking to my external loaded movies. Something is wrong and here is what I'm using:

//CODE ON BUTTON
//----------------------------------------------
_root.loadBox.theMoviePath.play("start");


//CODE ON FIRST FRAME OF LOADED MOVIE
//----------------------------------------------
_parent.theMoviePath = this;

This code works fine when I use it for "attachedMovies" from my library, but for some reason it doesn't work for movies loaded into a blankMC.

Any suggestions?

Thanks ahead of time!

norie
August 22nd, 2003, 04:27 AM
how are you loading the movie?

earph
August 22nd, 2003, 10:49 AM
// BUTTON
//================================
_global.movie = "GettingStarted/GettingStarted.swf";

// LAST FRAME OF MOVIE
//=======================================
if( _root.loadBox.movieLoaded != 1){
_root.loadBox.unloadMovie();
_root.loadBox.loadMovie(movie);
}


That's how I'm loading the movies... passing a variable, then calling it at the end of the animation, and telling it to load into a "blankMC".