[FMX]ActionScript Animation

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: