# ENTER\_FRAME listeners

**URL:** <https://forum.kirupa.com/t/enter-frame-listeners/277766>\
**Category:** Uncategorized\
**Created:** [December 17, 2008, 12:59am UTC](https://forum.kirupa.com/t/enter-frame-listeners/277766 "2008-12-17T00:59:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juskin](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@juskin](https://forum.kirupa.com/u/juskin)\
**Post date:** [December 17, 2008, 12:59am UTC](https://forum.kirupa.com/t/enter-frame-listeners/277766/1 "2008-12-17T00:59:41Z")

</div>

so in an attempt to leave no stone unturned, I need to understand why things happen, when applying an ENTER\_FRAME listener, does the code excecute as long as your on the frame, kinda like a loop but with no statement to stop it? for example I have the following code:  
var contRotate:Number = 1;

stage.addEventListener(Event.ENTER\_FRAME, spinWheel)

function spinWheel(e:Event) {  
var bigWheelRotate:TequilaTween = new TequilaTween(bigWheel, {x:90});  
bigWheelRotate.start();  
bigWheel.x = contRotate + 1;  
trace(“wheel spinning”);  
}

the string"wheel spinning" keeps tracing, however,bigWheel doesnt rotate, so do ENTER\_FRAMES excecute once, or as long as your on the frame?
