# Tweening prototypes and onMotionFinished?

**URL:** <https://forum.kirupa.com/t/tweening-prototypes-and-onmotionfinished/198280>\
**Category:** Uncategorized\
**Created:** [August 23, 2006, 6:59pm UTC](https://forum.kirupa.com/t/tweening-prototypes-and-onmotionfinished/198280 "2006-08-23T18:59:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asw000](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/asw000/32/2102_2.png) [@asw000](https://forum.kirupa.com/u/asw000)\
**Post date:** [August 23, 2006, 6:59pm UTC](https://forum.kirupa.com/t/tweening-prototypes-and-onmotionfinished/198280/1 "2006-08-23T18:59:34Z")

</div>

i recently started scripting using the tweening prototypes.  
[http://laco.wz.cz/tween/?page=docs/getTweens](http://laco.wz.cz/tween/?page=docs/getTweens)

it’s so much easier than the old mx.transitions that i was using… but i haven’t found one crucial element in the prototypes:  
onMotionFinished

is there any way to trigger another function after a tween is finished?

for example:  
circle.slideTo(200, 150, 1, “EaseOutExpo”);  
slideTo.onMotionFinished.gotoAndPlay(30);

-alex-
