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

**URL:** <https://forum.kirupa.com/t/mx-preloading-too-fast-doesnt-show-the-full-ani/183306>\
**Category:** flash\
**Created:** [March 25, 2006, 6:04pm UTC](https://forum.kirupa.com/t/mx-preloading-too-fast-doesnt-show-the-full-ani/183306 "2006-03-25T18:04:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![feeverte](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@feeverte](https://forum.kirupa.com/u/feeverte)\
**Post date:** [March 25, 2006, 6:04pm UTC](https://forum.kirupa.com/t/mx-preloading-too-fast-doesnt-show-the-full-ani/183306/1 "2006-03-25T18:04:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![feeverte](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@feeverte](https://forum.kirupa.com/u/feeverte)\
**Post date:** [March 25, 2006, 10:22pm UTC](https://forum.kirupa.com/t/mx-preloading-too-fast-doesnt-show-the-full-ani/183306/2 "2006-03-25T22:22:43Z")

</div>

No easy solution? ☹

---

<div class="post-metadata">

**Author:** ![rmo518](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@rmo518](https://forum.kirupa.com/u/rmo518)\
**Post date:** [March 25, 2006, 11:07pm UTC](https://forum.kirupa.com/t/mx-preloading-too-fast-doesnt-show-the-full-ani/183306/3 "2006-03-25T23:07:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![feeverte](https://avatars.discourse-cdn.com/v4/letter/f/278dde/32.png) [@feeverte](https://forum.kirupa.com/u/feeverte)\
**Post date:** [March 27, 2006, 1:55pm UTC](https://forum.kirupa.com/t/mx-preloading-too-fast-doesnt-show-the-full-ani/183306/4 "2006-03-27T13:55:23Z")

</div>

Thank you it did work.  
I just had to amend the path adding the mc\_conteiner.mc\_logo etc…  
Great. Solved.  
fv
