# Pausing between tweens

**URL:** https://forum.kirupa.com/t/pausing-between-tweens/259576
**Category:** flash
**Created:** [May 6, 2008, 8:43pm UTC](https://forum.kirupa.com/t/pausing-between-tweens/259576 "2008-05-06T20:43:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![levidyllan](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@levidyllan](https://forum.kirupa.com/u/levidyllan)
#### Post date: [May 6, 2008, 8:43pm UTC](https://forum.kirupa.com/t/pausing-between-tweens/259576/1 "2008-05-06T20:43:19Z")

</div>

I hope the following will become understandable…

I have 6 menu items that I want to tween in, but not all at once but slowly after each other.

This is one of my probs that I would like to know…

I have a tween class as below and rather than repeat the same tween class for several itmes i have I would like to pass the name of the mc to a tween function but not having much success:  
heres what I would ideally want:

so I have this one …

var newYPos:Tween = new Tween(theMcID.menuOne, “\_x”, Regular.easeOut, 0, 100, 3, true)

then just after this one has fired I would like to start the next one

EG

var newYPosA:Tween = new Tween(theMcID.menuOne, “\_x”, Regular.easeOut, 0, 100, 3, true)  
then  
var newYPosB:Tween = new Tween(theMcID.menuTwo, “\_x”, Regular.easeOut, 0, 100, 3, true)

but this does both at same time.

now I have put/used the:  
newYPoAs.onMotionFinished = function…  
to start the next , but it has to wait for the tween before to complete whcih is not what I am after I would like it to flow in 1,2,3,4,5,6 etc.

also to do this for all six I think is a bit clumpy probably a much better way to do this:

```auto
var newYPosA:Tween = new Tween(theMcID.menuOne, "_x", Regular.easeOut, 0, 100, 3, true);
	newYPosA.onMotionFinished = function(){
		var newYPosB:Tween = new Tween(theMcID.menuTwo, "_x", Regular.easeOut, 0, 100, 3, true);
			newYPosB.onMotionFinished = function(){
				var newYPosC:Tween = new Tween(theMcID.menuThree, "_x", Regular.easeOut, 0, 100, 3, true);
			newYPosC.onMotionFinished = function(){
				var newYPosD:Tween = new Tween(theMcID.menuFour, "_x", Regular.easeOut, 0, 100, 3, true);
			newYPosD.onMotionFinished = function(){
				var newYPosE:Tween = new Tween(theMcID.menuFive, "_x", Regular.easeOut, 0, 100, 3, true);
			newYPosE.onMotionFinished = function(){
				var newYPosE:Tween = new Tween(theMcID.menuSix, "_x", Regular.easeOut, 0, 100, 3, true);
			}
			}
			}
			}
	}

```

Ideally I am after the following:

var newYPosE:Tween = new Tween(theMcID.menuSix, “\_x”, Regular.easeOut, 0, 100, 3, true);  
wait a second, then fire the next , then the next then the next.

Well if any one has any ideas it will be appreciated

me
