# Looping

**URL:** <https://forum.kirupa.com/t/looping/277258>\
**Category:** Uncategorized\
**Created:** [December 10, 2008, 12:23am UTC](https://forum.kirupa.com/t/looping/277258 "2008-12-10T00:23:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![solutions](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@solutions](https://forum.kirupa.com/u/solutions)\
**Post date:** [December 10, 2008, 12:23am UTC](https://forum.kirupa.com/t/looping/277258/1 "2008-12-10T00:23:36Z")

</div>

hi,  
I’m new to flash and i am having trouble with learning actionscript so far.  
The current project I’m working on requires me to loop a motion tween that i have. I have looked around for the answers but haven’t found what’s wrong. If I don’t loop the tween then the movie jus stops and starts over again. The tween starts at frame 140 and ends at frame 150 and i would like the tween to be repeated until frame 300.  
Can anyone explain to me the problem that i have in my script:

for(var inspired:int=140;i\<300;i++)  
{  
trace(inspired);  
}
