# scaleX, scaleY Tween on imported File

**URL:** <https://forum.kirupa.com/t/scalex-scaley-tween-on-imported-file/305678>\
**Category:** flash\
**Created:** [March 1, 2010, 8:41pm UTC](https://forum.kirupa.com/t/scalex-scaley-tween-on-imported-file/305678 "2010-03-01T20:41:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alemieux34](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Post date:** [March 1, 2010, 8:41pm UTC](https://forum.kirupa.com/t/scalex-scaley-tween-on-imported-file/305678/1 "2010-03-01T20:41:57Z")

</div>

I’m using a tween on an imported file on MOUSE\_OVER and MOUSE\_OUT that will scale it X/Y up by 1.2. The problem is that the scaling starts in the upper left hand corner and moves out from that point. I want the scaling to start from the center.

Any ideas?

```auto
new Tween(clipT,"scaleX",Elastic.easeIn,this.scaleX,1.2,.5,true);
new Tween(clipT,"scaleY",Elastic.easeIn,this.scaleY,1.2,.5,true);

```
