# Checking if MC's are in the correct order

**URL:** https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251
**Category:** flash
**Created:** [August 26, 2004, 6:38am UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251 "2004-08-26T06:38:24Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![johannes](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@johannes](https://forum.kirupa.com/u/johannes)
#### Post date: [August 26, 2004, 6:38am UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/1 "2004-08-26T06:38:24Z")

</div>

[font=verdana, arial, helvetica][size=2]Ok. I don’t know what to do!

How can I create a Swf where you drag a series of MC’s, place them in the **correct** order onto a rectangle, and then they press a button which then tells you if they are in tne correct order?

Any clue?

J  
[/size][/font]

---

<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 26, 2004, 7:20am UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/2 "2004-08-26T07:20:26Z")

</div>

See if this helps you get started

---

<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 26, 2004, 11:24am UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/3 "2004-08-26T11:24:44Z")

</div>

Stringy you are and will forever be the FlashMeister!

A cheeky question: how can I do the same thing but with short animated swf (which together form a longer clip) or even video clips? When button is pressed, whole video/animation is played?

Thanks a multi-million m8!

JJ

---

<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 26, 2004, 1:46pm UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/4 "2004-08-26T13:46:49Z")

</div>

> [@johannes](#):
>
> Stringy you are and will forever be the FlashMeister!
> 
> A cheeky question: how can I do the same thing but with short animated swf (which together form a longer clip) or even video clips? When button is pressed, whole video/animation is played?
> 
> Thanks a multi-million m8!
> 
> JJ

Hmmm  
yes it is cheeky and i`m only answering because i know you are confined to eating B.Mathews turkey roast.(bootiful?) :lol:

---

<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 26, 2004, 2:00pm UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/5 "2004-08-26T14:00:09Z")

</div>

Ha ha ! Very funny!

```
I don't think I'm doing it ***proper*** because it looks like the first fla although it's larger? Also, I don't understand how you did it...where are the numbers hiding?

```

(a few animated clips like **Clip 1** Man standing **Clip 2**. Man walking **Clip 3** Man Falling **Clip 4** Man Crying (sorry pretty naff example…) )

```
I'm too much of a slow farmer today I'm afraid...

JJ
```

---

<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 26, 2004, 4:59pm UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/6 "2004-08-26T16:59:31Z")

</div>

Yeh, a rich slow farmer i bet!  
I`ve just put some labels in so maybe it is a bit clearer. If you go tthe library/symbol1/edit and double click the first layer(s1) you may be clearer.

---

<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 27, 2004, 6:43am UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/7 "2004-08-27T06:43:47Z")

</div>

Cheers for da fla m8!

Looked in Library and did what you said, but I still cant figure out how the numbers appear…and other things too I guess…(My AS is as good as Saddam is at BeatBoxing…[sorry] bad…very bad…)

Do you know of any tuts that could help me with this? I couldn’t find those labels that you mentioned either.

You really have been of great help Stringy! Cheers m8.

JJ

---

<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 27, 2004, 1:21pm UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/8 "2004-08-27T13:21:03Z")

</div>

> [@johannes](#):
>
> Cheers for da fla m8!
> 
> Looked in Library and did what you said, but I still cant figure out how the numbers appear…and other things too I guess…(My AS is as good as Saddam is at BeatBoxing…[sorry] bad…very bad…)
> 
> Do you know of any tuts that could help me with this? I couldn’t find those labels that you mentioned either.
> 
> You really have been of great help Stringy! Cheers m8.
> 
> JJ

The “numbers” is just one movieclip in the library which is attached dynamically.It has a text field, so each instance attached is given a different number in the textfield.  
Inside each"number" is another mc(s1) which is where the animation is.

---

<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 28, 2004, 8:31am UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/9 "2004-08-28T08:31:27Z")

</div>

**Stringy , you really have been persistent with me, thank you for that!**

Ok, I think I’m getting there. One final question, pleeeease?

The numbers that I mentioned they appear from _out of no where_ and you said they were entered _dynamically_. How could I edit these numbers and change them to, lets say, text or even an image?

I promise I won’t hassle you again Stringy!

---

<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 28, 2004, 3:17pm UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/10 "2004-08-28T15:17:32Z")

</div>

> [@johannes](#):
>
> **Stringy , you really have been persistent with me, thank you for that!**
> 
> Ok, I think I’m getting there. One final question, pleeeease?
> 
> The numbers that I mentioned they appear from _out of no where_ and you said they were entered _dynamically_. How could I edit these numbers and change them to, lets say, text or even an image?
> 
> I promise I won’t hassle you again Stringy!

myclip.myText.text = i; is the line which gives the text.if you made an array (newArray) containing text values you could just say myclip.myText.text=newArray\*;  
I`ve made a simpler file which doesn`t do much but may help you understand what is happening a little better.

---

<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 28, 2004, 4:08pm UTC](https://forum.kirupa.com/t/checking-if-mcs-are-in-the-correct-order/62251/11 "2004-08-28T16:08:19Z")

</div>

Thanks ever so much m8!

I think I got it.

Cheers,

Gab
