# \[FMX\]ActionScript Animation

**URL:** <https://forum.kirupa.com/t/fmx-actionscript-animation/102646>\
**Category:** Uncategorized\
**Created:** [February 25, 2004, 7:01pm UTC](https://forum.kirupa.com/t/fmx-actionscript-animation/102646 "2004-02-25T19:01:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsites](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jsites](https://forum.kirupa.com/u/jsites)\
**Post date:** [February 25, 2004, 7:01pm UTC](https://forum.kirupa.com/t/fmx-actionscript-animation/102646/1 "2004-02-25T19:01:18Z")

</div>

Hey,  
This is the first time i’ve never had to do this.

I have a rectangle drawn in flash. i need it to grab a variable, and then i need it to animate the bar sliding from left to right the number of pixels that the variable is equal to.

i am doing this as a progress bar in an authorware program. i know how to pass the variables from authorware into flash, i just don’t know how to make the movieclip of the bar slide across the screen and have it look like a smooth animation.

any help would be appreciated. :cool:
