# onMotionFinished

**URL:** https://forum.kirupa.com/t/onmotionfinished/131746
**Category:** Uncategorized
**Created:** [December 19, 2004, 1:07pm UTC](https://forum.kirupa.com/t/onmotionfinished/131746 "2004-12-19T13:07:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jerryj](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jerryj](https://forum.kirupa.com/u/jerryj)
#### Post date: [December 19, 2004, 1:07pm UTC](https://forum.kirupa.com/t/onmotionfinished/131746/1 "2004-12-19T13:07:47Z")

</div>

Hi,

I tried to use onMotionFinished two times, but it doesn’t work when I do it like this (the third tween doesn’t happen):

> lineTween = new mx.transitions.Tween(lijnMC, “\_x”, mx.transitions.easing.Strong.easeOut, 200, 0, 1, true);  
> lineTween.onMotionFinished = function() {  
> linebackTween = new mx.transitions.Tween(lijnMC, “\_x”, mx.transitions.easing.Strong.easeOut, 0, 200, 1, true);  
> }  
> linebackTween.onMotionFinished = function() {  
> linebackagainTween = new mx.transitions.Tween(lijnMC, “\_x”, mx.transitions.easing.Strong.easeOut, 200, 0, 1, true);  
> }  
> Does anyone know why not, or have a solution?

Thanks!

Jerryj.
