# Tweening objects to specific postion

**URL:** <https://forum.kirupa.com/t/tweening-objects-to-specific-postion/322074>\
**Category:** flash\
**Created:** [May 10, 2011, 4:04am UTC](https://forum.kirupa.com/t/tweening-objects-to-specific-postion/322074 "2011-05-10T04:04:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Taco\_Pants](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Taco\_Pants](https://forum.kirupa.com/u/Taco_Pants)\
**Post date:** [May 10, 2011, 4:04am UTC](https://forum.kirupa.com/t/tweening-objects-to-specific-postion/322074/1 "2011-05-10T04:04:01Z")

</div>

Hey guys!

This is my first post here, I’m new to AS and programming in general, so I apologize in advance if what I’m saying doesn’t make complete sense, but I’m looking for an idea of how to accomplish what I want to accomplish

Right now I’m working on a website that has movie clips that I want to tween back and forth across the stage when a button is pressed.

Here’s the idea:

![](http://img822.imageshack.us/img822/8589/problem0.png)

When 2\_btn is pressed, I want 1\_mc, 2\_mc, and 3\_mc to move from right to left and then stop when 2\_mc is positioned on the stage, stop moving and play

![](http://img199.imageshack.us/i/problemkw.png)

* * *

Then if 3\_btn is pressed I want all three to be animated from right to left until 3\_mc is positioned on the stage, stop moving and play

## ![](http://img191.imageshack.us/i/problem2n.png) ![](http://img197.imageshack.us/img197/6828/problem2b.png)

Then if 1\_btn is pressed I want all three to move from right to left until 1\_mc is positioned on the stage, then stop moving and play

## ![](http://imageshack.us/photo/my-images/809/problem3a.png) ![](http://imageshack.us/photo/my-images/809/problem3a.png)

Basically I have no idea how to accomplish this, or how to word it into Google.

What I have right now, which obviously isn’t accomplishing what I want is:

Tween from left to right across the timeline, and then using a gotoAndPlay, and then stop(); on the frame.

Thank you SO MUCH in advance anyone who can give me a push in the right direction.
