# How to decrease the speed for Enterframe

**URL:** https://forum.kirupa.com/t/how-to-decrease-the-speed-for-enterframe/86499
**Category:** flash
**Created:** [April 13, 2005, 1:35pm UTC](https://forum.kirupa.com/t/how-to-decrease-the-speed-for-enterframe/86499 "2005-04-13T13:35:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![salim](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@salim](https://forum.kirupa.com/u/salim)
#### Post date: [April 13, 2005, 1:35pm UTC](https://forum.kirupa.com/t/how-to-decrease-the-speed-for-enterframe/86499/1 "2005-04-13T13:35:10Z")

</div>

[font=verdana, arial, helvetica][size=2]This is my first post in Kirupa forum. Please help me with this.[/size][/font]

[font=verdana, arial, helvetica][size=2]I want to rotate an arrow in keyPress. This is working but I don’t want to move it so fast.

Here is what I have done:  
I have created a movie clip and named it “arrow”

Here is the code that I am using in the first frame:

arrow.onEnterFrame = function() {  
with (arrow) {  
if (Key.isDown(Key.RIGHT)) {  
\_root.arrow.\_rotation+=90;  
}  
}  
}

I want to slow the speed because once anyone press the right arrow key the arrow (graphic/movieclip) starts moving very fast.

I tried to decrease the FPS but that is makin the movie very slow.

I have also attached the .fla file.

Please help me with this[/size][/font]
