# Access a MC on a specific frame

**URL:** <https://forum.kirupa.com/t/access-a-mc-on-a-specific-frame/39353>\
**Category:** flash\
**Created:** [January 6, 2004, 3:41pm UTC](https://forum.kirupa.com/t/access-a-mc-on-a-specific-frame/39353 "2004-01-06T15:41:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daw0lverine](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@daw0lverine](https://forum.kirupa.com/u/daw0lverine)\
**Post date:** [January 6, 2004, 3:41pm UTC](https://forum.kirupa.com/t/access-a-mc-on-a-specific-frame/39353/1 "2004-01-06T15:41:21Z")

</div>

Hi everybody,

Here is the thing :  
I have a several frames on which I have several MCs. logical.  
On some frames, I have MCs that have the same name that on other frames. Right now, I access the frames by a gotoAndStop() and then access the MCs of the frame in the very frame.

What I want to do : I want to be able to access the MCs of all the frames from the first one to initiate them (loading purpose). But since I have MCs with the same name, I can’t juste do “MCName.whatever()” because as wouldn’t know which one to chose.

So here’s my question : is there a way to use the object-like syntax to prefix the MC Name by it’s frame ?  
ie : frame is “Frame2”  
mc is “myMC”  
=\> do Frame2.myMC.whatever()

Thanks in advance
