# MX preloader - stupid question

**URL:** <https://forum.kirupa.com/t/mx-preloader-stupid-question/7172>\
**Category:** flash\
**Created:** [October 25, 2002, 12:18am UTC](https://forum.kirupa.com/t/mx-preloader-stupid-question/7172 "2002-10-25T00:18:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gonzales](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@gonzales](https://forum.kirupa.com/u/gonzales)\
**Post date:** [October 25, 2002, 12:18am UTC](https://forum.kirupa.com/t/mx-preloader-stupid-question/7172/1 "2002-10-25T00:18:52Z")

</div>

okay this is a dumb question but i cant figure it out. ive been using flash 5 for about a year and a half now. i just started using MX. im making a preloader but i cant get the percentage bar MC to follow along with the percent loaded text box… does that make sense? basically the MC of the “bar” animation that ive made constantly loops on its own time - its not relative to the percentage of the movie loaded… i know how to do this in flash 5. i assign a instance name and basically put “\_root.bar.gotoAndStop (percent)” but its not working in MX. what am i doing wrong?

THANK YOU !!!

matt

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 25, 2002, 2:23pm UTC](https://forum.kirupa.com/t/mx-preloader-stupid-question/7172/2 "2002-10-25T14:23:14Z")

</div>

use this:

percentage = \_root.getBytesLoaded() / \_root.getBytesTotal() \* 100;  
percentagebar.\_xscale = percentage;

Steve

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 25, 2002, 4:07pm UTC](https://forum.kirupa.com/t/mx-preloader-stupid-question/7172/3 "2002-10-25T16:07:58Z")

</div>

If that doesn’t help, search the forums. There are SO many threads on preloaders! I think they aer the most common problems along with the blasted Chromeless Windows.

-brad-:cowboy:
