# Targeting a fame

**URL:** <https://forum.kirupa.com/t/targeting-a-fame/23544>\
**Category:** Uncategorized\
**Created:** [June 19, 2003, 10:13am UTC](https://forum.kirupa.com/t/targeting-a-fame/23544 "2003-06-19T10:13:36Z")\
**Posts on this page:** 5\
**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:** [June 19, 2003, 10:13am UTC](https://forum.kirupa.com/t/targeting-a-fame/23544/1 "2003-06-19T10:13:36Z")

</div>

Hi ppl

I have another problem flash mx  
i have three MC’s 1,2,3 and a button for each of them, on pressing each button it makes the apropriate MC play half way then stop at a frame with a stop action.

BUT what i want is to use a if statment somthing like this

script is on MC1 button

tell MC1 to play ();  
if MC2 is at frame xx  
tell it to play ();

eles do nothing

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:** [June 19, 2003, 11:45am UTC](https://forum.kirupa.com/t/targeting-a-fame/23544/2 "2003-06-19T11:45:54Z")

</div>

```auto

mc1.play();
if (mc2._currentframe == xx){
mc2.play();
}

```

something like that ?

---

<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:** [July 3, 2003, 8:26pm UTC](https://forum.kirupa.com/t/targeting-a-fame/23544/3 "2003-07-03T20:26:46Z")

</div>

for “xx” must a frame number be specified? If not, then would it mean that if any frame is playing, then do nothing?

:nerd:

---

<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:** [July 3, 2003, 8:27pm UTC](https://forum.kirupa.com/t/targeting-a-fame/23544/4 "2003-07-03T20:27:56Z")

</div>

xx is the number of the frame yeah

---

<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:** [July 4, 2003, 12:06pm UTC](https://forum.kirupa.com/t/targeting-a-fame/23544/5 "2003-07-04T12:06:56Z")

</div>

thanks

RvGaTe

your 1st post was what i was looking for

i love this forum it’s slowly helping me learn action scrip with the help of some book
