(MX) Preloading too fast, doesnt show the full ani

Hi to the nice people of K
I would be nearly done with this project if it wasnt for this teetheing problem

The preloader animation is a spinning 3D logo which must be seen at least up to the first rotation otherwise the logo get all uggly and that’s unacettable for a company logo.

How do I tell the 3Dlogo_mc to play till the end even if the percentage has reached 100% and only than go to frame 5?

Pleeeease help!

I am using this preloader script

onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndStop(5);
}
}

Thanx and have a nice w/e

No easy solution? :frowning:

Something like this, perhaps.

In the 3Dlogo_mc add this bit of actionscript: _root.logoTurned = true; once it reaches the critical frame. Then modify the if statement to check for both conditions (percent loaded and whether or not the logo is in the correct position) as shown below.
[AS]onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99 && _root.logoTurned == true) {
_parent.gotoAndStop(5);
}
}[/AS]
Hope this helps.

Thank you it did work.
I just had to amend the path adding the mc_conteiner.mc_logo etc…
Great. Solved.
fv