MX preloader - stupid question

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 “ (percent)” but its not working in MX. what am i doing wrong?



use this:

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


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.