# ENTER\_FRAME glitches Help

**URL:** https://forum.kirupa.com/t/enter-frame-glitches-help/330768
**Category:** flash
**Created:** [March 13, 2013, 9:08am UTC](https://forum.kirupa.com/t/enter-frame-glitches-help/330768 "2013-03-13T09:08:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![duchman](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@duchman](https://forum.kirupa.com/u/duchman)
#### Post date: [March 13, 2013, 9:08am UTC](https://forum.kirupa.com/t/enter-frame-glitches-help/330768/1 "2013-03-13T09:08:29Z")

</div>

Why cant I get smooth rotation with simple code like this:

```auto
addEventListener(Event.ENTER_FRAME, rotate);

function rotate(e:Event):void{
  
   ball.rotation += 2;
   
}

```

It seems that rotation looses frames, not going smoothly, chopping, jumping and glitching…Watch it for few secs…  
This is a simple example, but Im doing it on very important project, in which I need constant non interuptive rotation, not interupted by some frame updating or whatever this is…  
I ve tried with Timer, ENTER\_FRAME, getTimer, and none of it helped…  
Please, what would be solution to this? To get constant rotation speed?  
Thnx
