External load swf, then go?

okay, i got these swf, that i am trying to load other swfs with, so far i have it so the swf are kinda preload, loading on a container off the stage and then advancing to a new frame, my problem is with this code it just stays on frame one for some reason

this is on frame one

 bytes=container.getBytesLoaded()+this.getBytesLoaded() 
total=container.getBytesTotal()+this.getBytesTotal() 
_root.createEmptyMovieClip("container",1)
container.loadMovie("01.swf")
container._x = -500 ;
container._y = -1000;
if (bytes == total) {
_root.gotoAndPlay(3)
}

and this is on frame two

gotoAndPlay(1) 

anyone know why it’s staying on frame one instead of advancing after the swf is loaded?

Hmmm, I’m not sure that this will work, but it’s worth a try:[AS]bytes = container.getBytesLoaded()+this.getBytesLoad();
total = container.getBytesTotal()+this.getBytesTotal();
_root.createEmptyMovieClip(“container”, 1);
container.loadMovie(“01.swf”);
container._x = -500;
container._y = -1000;
if (bytes == total) {
**this.**gotoAndPlay(3);
}[/AS]Hope this works…

nope, didn’t work thanks though

:ne: anybody else?

The script you posted has errors in it, how about this:[AS]bytes = container.getBytesLoaded()+this.getBytesLoad();
total = container.getBytesTotal()+this.getBytesTotal();
_root.createEmptyMovieClip(“container”, 1);
container.loadMovie(“01.swf”);
container._x = -500;
container._y = -1000;
if (bytes == total) {
_root.gotoAndPlay(3);
}[/AS]