# "TweenEvent.MOTION\_START" Problem.!

**URL:** https://forum.kirupa.com/t/tweenevent-motion-start-problem/316649
**Category:** flash
**Created:** [November 28, 2010, 9:33pm UTC](https://forum.kirupa.com/t/tweenevent-motion-start-problem/316649 "2010-11-28T21:33:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gasper000](https://avatars.discourse-cdn.com/v4/letter/g/b4bc9f/32.png) [@gasper000](https://forum.kirupa.com/u/gasper000)
#### Post date: [November 28, 2010, 9:33pm UTC](https://forum.kirupa.com/t/tweenevent-motion-start-problem/316649/1 "2010-11-28T21:33:25Z")

</div>

Hello …  
I am not familiar with AS3 (or any AS version). I just started reading about it fews days ago, & I like the idea that I can use it to minimize the number of frames of the swf file.

Anyway, I have some simple script that has 2 “movie clips”. What I want to do is to start moving the second movie clip at the same time when the 1st starts moving. (both start moving at the same time)

I tried the following script but it never works:

```auto

import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent; 

var myTween = new Tween(facey1, "x", Strong.easeInOut, 0,300, 3, true); 

myTween.addEventListener(TweenEvent.MOTION_START, onAction);
myTween.start();
function onAction(e:TweenEvent):void {
var myTween2 = new Tween(my_mc, "x", Strong.easeInOut, 0,300, 3, true); 
}

```

I tried to move the second movie clip just after the 1st finishes moving. and guess what … it works.

```auto

import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent; 

var myTween = new Tween(facey1, "x", Strong.easeInOut, 0,300, 3, true); 

myTween.addEventListener(TweenEvent.MOTION_FINISH, onAction);
function onAction(e:TweenEvent):void {
var myTween2 = new Tween(my_mc, "x", Strong.easeInOut, 0,300, 3, true); 
}

```

I’m very confused. Please give me a clue on how can I make the first script works.
