# Class file, tween on motion finished?

**URL:** <https://forum.kirupa.com/t/class-file-tween-on-motion-finished/172572>\
**Category:** Uncategorized\
**Created:** [December 15, 2005, 7:03pm UTC](https://forum.kirupa.com/t/class-file-tween-on-motion-finished/172572 "2005-12-15T19:03:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sixtyminuteman](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@sixtyminuteman](https://forum.kirupa.com/u/sixtyminuteman)\
**Post date:** [December 15, 2005, 7:03pm UTC](https://forum.kirupa.com/t/class-file-tween-on-motion-finished/172572/1 "2005-12-15T19:03:41Z")

</div>

im building a class file that tweens an empty movie clip, containiing an attached mc, using the tween class. How can i make the script wait for the tween to finnish before executing the next function?  
Or should i say, what is the best way?
