# Tween \[AS2\]

**URL:** <https://forum.kirupa.com/t/tween-as2/189944>\
**Category:** flash\
**Created:** [June 7, 2006, 12:42pm UTC](https://forum.kirupa.com/t/tween-as2/189944 "2006-06-07T12:42:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ollie1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ollie1/32/2180_2.png) [@ollie1](https://forum.kirupa.com/u/ollie1)\
**Post date:** [June 7, 2006, 12:42pm UTC](https://forum.kirupa.com/t/tween-as2/189944/1 "2006-06-07T12:42:54Z")

</div>

```auto

this.mainpage_btn_mc.onRollOver = function(){
	mainpage_btn_mc.gotoAndPlay("over");
new Tween(belowmain_mc, "_y", None.easeNone, 79, 110, 12, false);
}
this.mainpage_btn_mc.onRollOut = function(){
	mainpage_btn_mc.gotoAndPlay("out");
new Tween(belowmain_mc, "_y", None.easeNone, 100, 79, 12, false);
}

```

I have the above code so when a button ‘mainpage\_btn\_mc’ is rolled over another mc ‘belowmain\_mc’ tweens down, and on rollout it tweens back up.

```auto
new Tween(belowmain_mc, "_y", None.easeNone, [COLOR="Red"]100[/COLOR], 79, 12, false);

```

what i am wanting to do is set the start position to the current y value instead of a y coordinate, what would i need to achieve this?

-ollie
