# Movement and Loop with AS

**URL:** <https://forum.kirupa.com/t/movement-and-loop-with-as/242821>\
**Category:** flash\
**Created:** [October 30, 2007, 6:54pm UTC](https://forum.kirupa.com/t/movement-and-loop-with-as/242821 "2007-10-30T18:54:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![esferaweb](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/esferaweb/32/2104_2.png) [@esferaweb](https://forum.kirupa.com/u/esferaweb)\
**Post date:** [October 30, 2007, 6:54pm UTC](https://forum.kirupa.com/t/movement-and-loop-with-as/242821/1 "2007-10-30T18:54:48Z")

</div>

I´m using this AS to movement a MC

[AS]onClipEvent(enterFrame){  
this.\_x += -1;  
}[/AS]

but not looping, how can i loop with AS?  
i try to do this with infinit fake background, just one piece of image and loop, but i just got this with timeline animation… how can i do this with AS?

thanks!
