# Actionscripting a tween

**URL:** https://forum.kirupa.com/t/actionscripting-a-tween/187709
**Category:** flash
**Created:** [May 1, 2006, 7:27pm UTC](https://forum.kirupa.com/t/actionscripting-a-tween/187709 "2006-05-01T19:27:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)
#### Post date: [May 1, 2006, 7:27pm UTC](https://forum.kirupa.com/t/actionscripting-a-tween/187709/1 "2006-05-01T19:27:00Z")

</div>

I have a movieclip that is a menu window that “opens” relative to the mouse position. What I really need is for the movieclip to adjust from whatever position it is in to a set position on the screen. when it is clicked on. I can get it to jump to the position but what I would like to do is for it to smoothly move as if it was an animation tween. How can you do this with actionscript?
