# Loops

**URL:** <https://forum.kirupa.com/t/loops/171642>\
**Category:** Uncategorized\
**Created:** [December 7, 2005, 1:17am UTC](https://forum.kirupa.com/t/loops/171642 "2005-12-07T01:17:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ineedsleep](https://avatars.discourse-cdn.com/v4/letter/i/e5b9ba/32.png) [@Ineedsleep](https://forum.kirupa.com/u/Ineedsleep)\
**Post date:** [December 7, 2005, 1:17am UTC](https://forum.kirupa.com/t/loops/171642/1 "2005-12-07T01:17:45Z")

</div>

I normally am a bit lazy and using frames for tweening and aniamtion however I know I should use script ao I knocked to gether a loop that I thought would do that

on(press){  
for (var b =\_root.links.\_y; b\>100;\_root.links.\_y = b++){  
trace(b);  
}  
}  
this should make a movie clip move up the screen however it doesnt could someone put me straight
