# Easy MC name question

**URL:** <https://forum.kirupa.com/t/easy-mc-name-question/47647>\
**Category:** flash\
**Created:** [April 6, 2004, 1:40am UTC](https://forum.kirupa.com/t/easy-mc-name-question/47647 "2004-04-06T01:40:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kennyb](https://avatars.discourse-cdn.com/v4/letter/k/c68b51/32.png) [@kennyb](https://forum.kirupa.com/u/kennyb)\
**Post date:** [April 6, 2004, 1:40am UTC](https://forum.kirupa.com/t/easy-mc-name-question/47647/1 "2004-04-06T01:40:20Z")

</div>

I’ve been away from Flash for a bit, and I’ve forgotten a few things. I’m trying to affect a random movie clip that’s on stage. How can I use the random number I generate to select my mc’s?

For example, here’s what will not work (but you’ll get what I’m trying to do):

\_root.mcHolder.mc+“p”.\_alpha=newAlpha;

So, p=the random number. I have mc’s named mc1, mc2, mc3 and mc4, etc.

Thanks.
