# TWEEN from currentframe to another frame?

**URL:** https://forum.kirupa.com/t/tween-from-currentframe-to-another-frame/305538
**Category:** flash
**Created:** [February 26, 2010, 7:47pm UTC](https://forum.kirupa.com/t/tween-from-currentframe-to-another-frame/305538 "2010-02-26T19:47:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hfeist](https://avatars.discourse-cdn.com/v4/letter/h/bbe5ce/32.png) [@hfeist](https://forum.kirupa.com/u/hfeist)
#### Post date: [February 26, 2010, 7:47pm UTC](https://forum.kirupa.com/t/tween-from-currentframe-to-another-frame/305538/1 "2010-02-26T19:47:42Z")

</div>

I have a movieclip that contains a sequence of jpgs one per frame.

When the user clicks a button I would like to use the tween class to move the clip on its x and y axes to a target position but also move the clip’s frame from its currentframe to another on its timeline.

var myTween=new Tween(MOV,“x”,Strong.easeOut,MOV.x,nx,3,true); //works  
var myTween2=new Tween(MOV,“currentFrame”,Strong.easeOut,0,260,3,true); //doesn’t work

I can tween the x and y properties ok but cannot see how to tween the frames. currentFrame is read only so that won’t work.

Any suggestions?
