# I need help with Tweening

**URL:** <https://forum.kirupa.com/t/i-need-help-with-tweening/314285>\
**Category:** flash\
**Created:** [September 23, 2010, 7:48pm UTC](https://forum.kirupa.com/t/i-need-help-with-tweening/314285 "2010-09-23T19:48:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfchafin1](https://avatars.discourse-cdn.com/v4/letter/d/dbc845/32.png) [@dfchafin1](https://forum.kirupa.com/u/dfchafin1)\
**Post date:** [September 23, 2010, 7:48pm UTC](https://forum.kirupa.com/t/i-need-help-with-tweening/314285/1 "2010-09-23T19:48:38Z")

</div>

Hey everyone im kinda new at tweening. Below is my code all i want to do is an easeIn on the move. I know i simple but help would be amazing thanks in advance.

moveLeft.onPress = function() {  
rocket.\_x +=500 ;  
if (rocket.\_x \> 0) {  
rocket.\_x = 0;  
}  
}  
moveRight.onPress = function() {  
rocket.\_x -= 500;  
if (rocket.\_x \< -4500) {  
rocket.\_x = -4500;  
}  
}
