# AS3 TweenEvent & how to resume/continue to next frame?

**URL:** <https://forum.kirupa.com/t/as3-tweenevent-how-to-resume-continue-to-next-frame/285872>\
**Category:** flash\
**Created:** [April 7, 2009, 1:51pm UTC](https://forum.kirupa.com/t/as3-tweenevent-how-to-resume-continue-to-next-frame/285872 "2009-04-07T13:51:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Annie\_Weiss](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@Annie\_Weiss](https://forum.kirupa.com/u/Annie_Weiss)\
**Post date:** [April 7, 2009, 1:51pm UTC](https://forum.kirupa.com/t/as3-tweenevent-how-to-resume-continue-to-next-frame/285872/1 "2009-04-07T13:51:14Z")

</div>

[SIZE=3]I just started learning AS3 the other day and **NEED HELP!!** :sen:. I’m trying to tween two movie clips and when they are finished, make them resume to the next frame. How do I do this or make it work!?!!?!? :stare:.[/SIZE]

[SIZE=3]Here is my current code: [/SIZE]

[COLOR=Blue]import fl.transitions.Tween;  
import fl.transitions.easing.\*;  
import fl.transitions.TweenEvent;

var myTween:Tween = new Tween(doorRightMc, “x”, Bounce.easeOut, 500.7, 1001, 3, true);  
var myTween2:Tween = new Tween(doorLeftMc, “x”, Bounce.easeOut, 24.2, -480, 3, true);  
stop();

myTween.addEventListener(TweenEvent.MOTION\_RESUME, onMotionResumed);  
function onMotionResumed(event:TweenEvent):void {  
trace(“Tween resumed”);  
}[/COLOR]
