Hi all:
Thanks for this great tutorial on MovieClipLoader();
http://www.kirupa.com/developer/actionscript/moviecliploader.htm
Everything works great and I changed the script around so it loads one external file as soon as the movie starts. Now it looks like this:
**bar._visible = false;
border._visible = false;
this.createEmptyMovieClip(“container”, “100”);
my_mc = new MovieClipLoader();
preload = new Object();
my_mc.addListener(preload);
preload.onLoadStart = function(targetMC) {
trace("started loading "+targetMC);
container._visible = false;
bar._visible = true;
border._visible = true;
pText._visible = true;
};
preload.onLoadProgress = function(targetMC, lBytes, tBytes) {
bar._width = (lBytes/tBytes)*100;
pText.text = "% "+Math.round((lBytes/tBytes)*100);
};
preload.onLoadComplete = function(targetMC) {
container._visible = true;
border._visible = false;
bar._visible = false;
pText._visible = false;
trace(targetMC+" finished");
};
my_mc.loadClip(“0053-Frames23.swf”, “container”);**
How do I tell the script so when it loads this first movie, it starts loading the second one and so forth.
I was thinking of re-creating the script on every 5th frame and telling the script to go to that frame where the next actionscript is nested — but it didn’t work like that.
If you could help me out that would be great. I am doing a website and I am a week past due.
Thanks tons.