I have a movieclip playing during the preloader. The problem is that the movieclip doesn’t immediately start playing when a person goes to the site- there is a blank screen and then it starts playing the movieclip 20 frames after the beginning (especially on a slower connection).
Is there a way to load/start playing the movieclip before the bulk of the site starts downloading? (The movieclip is internal in the 1st frame).
the code for the preloader looks like this:
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = per+"%";
loadBar._width = per*6.5;
//loading is the movieclip that plays- currentframe is so it will finish the clip
if (percent>99,_root.loading._currentframe==169) {
_parent.gotoAndPlay(3);
}
}
Thanks for the help.