# AS Tween problem

**URL:** <https://forum.kirupa.com/t/as-tween-problem/181586>\
**Category:** flash\
**Created:** [March 10, 2006, 5:11pm UTC](https://forum.kirupa.com/t/as-tween-problem/181586 "2006-03-10T17:11:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Search\_This\_com](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@Search\_This\_com](https://forum.kirupa.com/u/Search_This_com)\
**Post date:** [March 10, 2006, 5:11pm UTC](https://forum.kirupa.com/t/as-tween-problem/181586/1 "2006-03-10T17:11:08Z")

</div>

allBars is a MC on the stage.

I am thinking this should take allBars MC and tween it from its corrent \_x position to \_x position -55?

but nothing happens?

```auto

//Import the classes
import mx.transitions.Tween;
import mx.transitions.easing.*;
var nStartXPos:Number = allBars._x;
trace(nStartXPos);
center_Btn.onRelease = function():Void {
 trace(nStartXPos);
 var twSlideLeft:Tween = new Tween(allBars, "_x", Regular, nStartXPos, -55, 3, true);
};

```
