# I'm sure this is basic but

**URL:** <https://forum.kirupa.com/t/im-sure-this-is-basic-but/318384>\
**Category:** Uncategorized\
**Created:** [January 18, 2011, 6:10pm UTC](https://forum.kirupa.com/t/im-sure-this-is-basic-but/318384 "2011-01-18T18:10:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkiefer00](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@mkiefer00](https://forum.kirupa.com/u/mkiefer00)\
**Post date:** [January 18, 2011, 6:10pm UTC](https://forum.kirupa.com/t/im-sure-this-is-basic-but/318384/1 "2011-01-18T18:10:44Z")

</div>

so I have a function programmed into the start of a movie

it’s

function ballMove(e:Event):void {  
var spin: Tween = new Tween (ball\_mc, “rotation”, Elastic.easeOut, 0, 360, 5, true);  
}

I tried using ball\_mc.addEventListener(Event.ENTER\_FRAME, ballMove) to start the function, and it wouldn’t work it would just jitter around on the screen

I solved it by calling the function directly using ballMove(); and getting rid of the e:Event from the function

can you not Tween automatically using the ENTER\_FRAME event?
