PDA

View Full Version : progressbar weirdness


eyecircus
08-26-2004, 06:29 PM
I am complete newbie to flash, i have been going through a learning curve the last week and have a movie completed - final.swf (which is great, and fine).

I have created an external slide movie with a progressbar component within that calls final.swf. I have also done a version with a normal flash doc with a loader and a progressbar.
BUT!
No matter what i seem to do - while the progressbar preloader is loading a percentage, extacly 21%, the external movie - final.swf starts playing in the background (the sound starts). By the time the preloader has disappeared the movie is almost finished.

Details:
- I am using the progressbar component in MX 2004.
- I have this actionscript on frame 1 of final.fla to stop it starting:
this.onEnterFrame = function() {
if (_parent.visible == true) {
play();
} else {
stop();
}
};

- I have tried numerous tweaks to avoid this ('stream' on main.swf, 2 frames at start of main.swf)

I keep trying different tutorials and getting the same results!! Please help me have a life again! Please!

Thanx very much in advance to whoever can help - you all rock!


morgan

Tink
08-26-2004, 06:44 PM
how about you just put a stop action on the first frame of your external movie. then in your movie with the preloader, once it has loaded, tell the external clip to play.