# Relative easing in Actionscript?

**URL:** <https://forum.kirupa.com/t/relative-easing-in-actionscript/219260>\
**Category:** flash\
**Created:** [March 15, 2007, 5:48am UTC](https://forum.kirupa.com/t/relative-easing-in-actionscript/219260 "2007-03-15T05:48:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lacohido](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@lacohido](https://forum.kirupa.com/u/lacohido)\
**Post date:** [March 15, 2007, 5:48am UTC](https://forum.kirupa.com/t/relative-easing-in-actionscript/219260/1 "2007-03-15T05:48:50Z")

</div>

So Im wondering if there is an equation for easing to a position relative to its native position using AS. For example, if i want a Symbol to move 100 pixels up from it original position. Is there a way to do this without knowing the Symbols original position?

Heres what I know:  
The"non-relative" easing equation in AS is:

```auto
myClip._y += (-100-myClip._y)/speed;

```

This is all well and good, but it assumes myClip is located at 0

Here’s what I tried to do:

```auto
myClip._y += ((myClip._y-100)-myClip._y)/speed;

```

This did not work at all. It just started going up forever.  
So, is there a way to ease something without knowing the Symbols original position?  
I know Im missing something. Any help would be great  
Thanks!!
