# Scripted movement help!

**URL:** <https://forum.kirupa.com/t/scripted-movement-help/11796>\
**Category:** Uncategorized\
**Created:** [January 22, 2003, 1:31pm UTC](https://forum.kirupa.com/t/scripted-movement-help/11796 "2003-01-22T13:31:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![biscuit](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@biscuit](https://forum.kirupa.com/u/biscuit)\
**Post date:** [January 22, 2003, 1:31pm UTC](https://forum.kirupa.com/t/scripted-movement-help/11796/1 "2003-01-22T13:31:05Z")

</div>

I’m not sure how to describe my problem clearly but here goes;

I’m messing around with some MC’s with scripted movement. I have 3 MC’s and 4 buttons three to control the Y pos of the MC’s and one to reset the y pos of only the first MC.

The movement script sits in frame one on the timeline and is called by the buttons.

When each of the buttons is pressed the corresponding MC moves to the desired y pos.

This works fine.

The 4th buttons purpose is to move the first MC back. But instead all the MC’s move back.

Why ???

I’ve attached the FLA because I’ve just read this back to myself and I’m lost already.

Please help.

Biscuit.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 22, 2003, 1:38pm UTC](https://forum.kirupa.com/t/scripted-movement-help/11796/2 "2003-01-22T13:38:36Z")

</div>

if you make different variables to each mc that will not happen.  
Like this: (attached file)

Cheers :ub:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 22, 2003, 1:59pm UTC](https://forum.kirupa.com/t/scripted-movement-help/11796/3 "2003-01-22T13:59:55Z")

</div>

thanks for the swift reply Guig0, sounds like the kind of mistake I’d make.

unfortunately I can’t download the FLA. I click the link and I just get a PHP file on my desktop. I am using the most forum-unfriendly system though; a Mac, OSX, and Safari.

Any tips?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 22, 2003, 2:04pm UTC](https://forum.kirupa.com/t/scripted-movement-help/11796/4 "2003-01-22T14:04:55Z")

</div>

I´m a micro$oft user 😛

that´s ok. Just use different variables in the mcs and buttons code, like:

mc pink : targety1  
mc green: targety2  
mc blue : targety3

got it?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 22, 2003, 2:09pm UTC](https://forum.kirupa.com/t/scripted-movement-help/11796/5 "2003-01-22T14:09:43Z")

</div>

Ahh… so simple yet so beyond my level of common sense!!

Thanks very much,

Now my day can go on.

Cheers and long live the Mac!!javascript:smilie(’;)’)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 22, 2003, 2:10pm UTC](https://forum.kirupa.com/t/scripted-movement-help/11796/6 "2003-01-22T14:10:38Z")

</div>

Look I can’t even use the bloody smilies properly!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 22, 2003, 2:21pm UTC](https://forum.kirupa.com/t/scripted-movement-help/11796/7 "2003-01-22T14:21:26Z")

</div>

Don´t be so hard on yourself 😛
