# \[FlashPro8\] Tween Class

**URL:** <https://forum.kirupa.com/t/flashpro8-tween-class/222520>\
**Category:** flash\
**Created:** [April 14, 2007, 6:19am UTC](https://forum.kirupa.com/t/flashpro8-tween-class/222520 "2007-04-14T06:19:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![small\_guy](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@small\_guy](https://forum.kirupa.com/u/small_guy)\
**Post date:** [April 14, 2007, 6:19am UTC](https://forum.kirupa.com/t/flashpro8-tween-class/222520/1 "2007-04-14T06:19:38Z")

</div>

I have a createEmptyMovieClip. Upon the press of a button on my main menu a .swf loads into the createEmptyMovieClip.

My problem/question is this: I want the loaded clip to tween in along \_x to approximately center stage.

I know this has something to do with the mx.transitions.Tween and mx.transitions.easing classes. The Flash Help section gave this code as sounding really close to what I want to do:

new mx.transitions.Tween(emptyKTVN\_mc, “\_x”, mx.transitions.easing.Elastic.easeOut, 0, 300, 3, true);

But when I tried to apply it it just loads the external .swf into the 300 mark on \_x instead of tweening into place.

Any help on this is appreciated…including any tutorials that I might be pointed to.
