# AS moving object based on preloader percent

**URL:** <https://forum.kirupa.com/t/as-moving-object-based-on-preloader-percent/183522>\
**Category:** Uncategorized\
**Created:** [March 27, 2006, 9:58pm UTC](https://forum.kirupa.com/t/as-moving-object-based-on-preloader-percent/183522 "2006-03-27T21:58:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ctkenney](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@ctkenney](https://forum.kirupa.com/u/ctkenney)\
**Post date:** [March 27, 2006, 9:58pm UTC](https://forum.kirupa.com/t/as-moving-object-based-on-preloader-percent/183522/1 "2006-03-27T21:58:14Z")

</div>

I am trying to move an object across the stage while my preloader is going. (i want two fists to meet when the preloader hits 100%). i am not very good with AS but i have tried things such as this.fist1\_mc.\_x = percent + 100; but i am just taking shots in the dark at this point. i can post the file if need be.

conor

---

<div class="post-metadata">

**Author:** ![expensive\_pen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/expensive_pen/32/554_2.png) [@expensive\_pen](https://forum.kirupa.com/u/expensive_pen)\
**Post date:** [March 27, 2006, 11:22pm UTC](https://forum.kirupa.com/t/as-moving-object-based-on-preloader-percent/183522/2 "2006-03-27T23:22:10Z")

</div>

off the top of my head

```auto

this.fist1_mc._x = percent * STAGE_WIDTH / 2;
this.fist2_mc._x = (1 - percent) * STAGE_WIDTH / 2 - STAGE_WIDTH / 2;

```

---

<div class="post-metadata">

**Author:** ![ctkenney](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@ctkenney](https://forum.kirupa.com/u/ctkenney)\
**Post date:** [March 28, 2006, 11:40pm UTC](https://forum.kirupa.com/t/as-moving-object-based-on-preloader-percent/183522/3 "2006-03-28T23:40:35Z")

</div>

i gave it a whirl, but i am not sure if i put them in the right spot. i uploaded a sample of what i tried. let me know what i need to change. thanks  
conor
