# Tween problem

**URL:** <https://forum.kirupa.com/t/tween-problem/328714>\
**Category:** Uncategorized\
**Created:** [June 9, 2012, 2:01am UTC](https://forum.kirupa.com/t/tween-problem/328714 "2012-06-09T02:01:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WarChimp](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@WarChimp](https://forum.kirupa.com/u/WarChimp)\
**Post date:** [June 9, 2012, 2:01am UTC](https://forum.kirupa.com/t/tween-problem/328714/1 "2012-06-09T02:01:06Z")

</div>

I have my Tween set like this

```php
var myTweenExpandWidth:Tween = new Tween(e.target, "width", Strong.easeOut, e.target.width, 158, 1, true);
var myTweenExpandHeight:Tween = new Tween(e.target, "height", Strong.easeOut, e.target.height, 236, 1, true);

```

It only activates when the MouseEvent occurs of MOUSE\_OVER. So in other words when the mouse scrolls over the target the target tweens and expands. When I move the mouse off of the target it contracts down to its original size.

Anyway that works, there is no worries. **The problem is** when I move my mouse off of the target before it finishes it’s expanding tween it gets stuck at it’s ‘expanded’ size.

Thanks.
