# setInterval within onRelease

**URL:** <https://forum.kirupa.com/t/setinterval-within-onrelease/131010>\
**Category:** Uncategorized\
**Created:** [December 10, 2004, 4:45pm UTC](https://forum.kirupa.com/t/setinterval-within-onrelease/131010 "2004-12-10T16:45:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![barnesjn](https://avatars.discourse-cdn.com/v4/letter/b/b3f665/32.png) [@barnesjn](https://forum.kirupa.com/u/barnesjn)\
**Post date:** [December 10, 2004, 4:45pm UTC](https://forum.kirupa.com/t/setinterval-within-onrelease/131010/1 "2004-12-10T16:45:18Z")

</div>

Does anyone have any idea why this interval will only fire once when a movieclip is pressed and released. It works, but just one time. I want the interval to keep firing. This is a dumbed down version of the code.

Any help would be much appreciated !!!

on (release)  
{

function hello(i:String)  
{  
trace("hello " + i)  
}

this.go = hello(“justin”)  
myint = setInterval(this,“go”,1)  
}
