# Tweening movie clips AS3 problem

**URL:** <https://forum.kirupa.com/t/tweening-movie-clips-as3-problem/315040>\
**Category:** flash\
**Created:** [October 15, 2010, 7:01pm UTC](https://forum.kirupa.com/t/tweening-movie-clips-as3-problem/315040 "2010-10-15T19:01:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akalorik](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@akalorik](https://forum.kirupa.com/u/akalorik)\
**Post date:** [October 15, 2010, 7:01pm UTC](https://forum.kirupa.com/t/tweening-movie-clips-as3-problem/315040/1 "2010-10-15T19:01:50Z")

</div>

I am fairly new to AS3 and I’m having a problem I need some help on. I have a page on my site that navigates between 3 different movie clips using frame based navigation. I have action script on each of the 3 frames to move between the movie clips and that works just fine but i can’t seem to get the tween to work on more than just one movie clip. Here’s the code from the first frame:

//load page  
page2.addEventListener(MouseEvent.CLICK, clickSection);

function clickSection(evtObj:MouseEvent)  
{  
//go to the frame clicked on…  
gotoAndStop(evtObj.target.name);  
//animate between pages  
new Tween(page2\_mc, “x”, Regular.easeOut, 0,260,1, true);  
new Tween(page1\_mc, “x”, Regular.easeOut, 0,260,1, true);  
new Tween(page3\_mc, “x”, Regular.easeOut, 0,260,1, true);

}

Whatever movie clip i put in the first tween will animate but the other two won’t. What am i doing wrong? Any help will be greatly appreciated!
