# Complex Preloader

**URL:** <https://forum.kirupa.com/t/complex-preloader/122549>\
**Category:** Uncategorized\
**Created:** [September 14, 2004, 6:47pm UTC](https://forum.kirupa.com/t/complex-preloader/122549 "2004-09-14T18:47:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![slyred](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/slyred/32/760_2.png) [@slyred](https://forum.kirupa.com/u/slyred)\
**Post date:** [September 14, 2004, 6:47pm UTC](https://forum.kirupa.com/t/complex-preloader/122549/1 "2004-09-14T18:47:15Z")

</div>

Hi -  
Hope you all can help me:

I’d like this to work in Flash 5 - but Flash MX (6) would be ok too.

I’m creating a bar preloader that expands out (works fine). On either end of the preloader I have a bracket ( ] ) graphic that I want to move as the bar moves. I tried to set the \_x position to move but it doesn’t alingn with the preloader bar, it aligns to the left edge of my stage (??).

Also as the preloader bar expands I want to have the preloader percentage text and loading text reveal (probably a mask ??). The animation would look something like this (but centered):

[–]

ding 55%  
[----------------]

Loading 99%  
[---------------------------]

\>\>\> My loader bar actionscript looks like this: \<\<\<

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

\>\>\> And what I have for the brackets looks like this: \<\<\<

\_root.rightbracket.\_x = ((\_root.getBytesLoaded()/\_root.getBytesTotal())\*100);

I have no clue how to do the mask of the loading text and percentage (lol).

If you have any FLA’s I could look at that would be a big help. Thanks in advance for any help you can give.
