# Need pointing in the right direction

**URL:** <https://forum.kirupa.com/t/need-pointing-in-the-right-direction/28589>\
**Category:** Uncategorized\
**Created:** [August 15, 2003, 10:23am UTC](https://forum.kirupa.com/t/need-pointing-in-the-right-direction/28589 "2003-08-15T10:23:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![m0fe](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@m0fe](https://forum.kirupa.com/u/m0fe)\
**Post date:** [August 15, 2003, 10:23am UTC](https://forum.kirupa.com/t/need-pointing-in-the-right-direction/28589/1 "2003-08-15T10:23:10Z")

</div>

hi ppl of the forum.

I’v got a puzzle and i’ts giving me a head ache, it go’s somthing like this,

I have some buttons, and some MC’s lined up verticaly, when pressed they make the MC’s move on to the screen.

but what i want is the first button i press what ever it is, make the bottom MC move on to the screen, and then the next button i press make the next MC up move on to screen then when pressed again the make them movve off.

Make any sence?

If any one can point me in the right direction it would be a big help

thanx in advance

---

<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:** [August 15, 2003, 11:55am UTC](https://forum.kirupa.com/t/need-pointing-in-the-right-direction/28589/2 "2003-08-15T11:55:01Z")

</div>

if you give your mc instances numerical names, i.e 1, 2, 3, 4 etc then you can use a counter to increase each time a button is pressed.

You use the counter to target the movie clip, so if you initialise the counter as 1 you can do something like;

```auto

on(press) {
 _root[counter].play(); // Makes mc 1 play.
counter++; // Makes counter variable counter increase by one. So the nest time a button is pressed mc 2 will be targeted.
}

Get the idea?

Regards,
Viru.
```

---

<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:** [August 15, 2003, 11:58am UTC](https://forum.kirupa.com/t/need-pointing-in-the-right-direction/28589/3 "2003-08-15T11:58:59Z")

</div>

Ye I think i get it, I will give it a go

Thanx again
