PDA

View Full Version : external swf loading too early


mechan
07-08-2004, 01:55 PM
Im using the progress bar and the loader components to load an external swf...

my prob is that the swf is already loaded when the progress bar reaches 80% and starts playing in the background but instead of seeing the movie i still see the prog bar loading until it reaches 100%

is there a way to make the movie play exactly when the prog bar is on 100% and not before?

yorkeylady
07-10-2004, 02:23 AM
I haven't used the component before. I'm just now learning Flash 2004. But I would try a stop in the first frame of the swf that is loading. Put nothing in that frame. Scoot all your frames over one. Then use this in the first frame.
this.onLoad = function(){
if(this.getBytesTotal == this.getBytesLoaded){
gotoAndPlay(2) ;
}

Good Luck!

nickyc18
07-10-2004, 10:17 PM
Hey there,
I was wondering what the code you have so far is that makes it load at 80% and not 100%. If you could tell me what code you are using, I might be able to help you.

Nick :)