# Access MC in button

**URL:** https://forum.kirupa.com/t/access-mc-in-button/64667
**Category:** Uncategorized
**Created:** [September 18, 2004, 4:57pm UTC](https://forum.kirupa.com/t/access-mc-in-button/64667 "2004-09-18T16:57:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fightalone](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@fightalone](https://forum.kirupa.com/u/fightalone)
#### Post date: [September 18, 2004, 4:57pm UTC](https://forum.kirupa.com/t/access-mc-in-button/64667/1 "2004-09-18T16:57:14Z")

</div>

alright… here we go…

i’ve a button named PicLayer0 … this button is made out of some lines and a MC… the MC’s called pl0…

ok… now i need to load a picture into the mc inside the button… but … how to access this mc… i tried with

x = 0;  
var sMC = ‘PicLayer’ + x + ‘.pl’ + x; // ‘PicLayer0.pl0’  
LoadMovie(SomePic[x],sMC);

but it doesnt work… i also tried \_root.PicLayer0.pl0… but it didnt work neither…

so … how to access the mc INSIDE the button correctly??

thx in advance…

yours sincerly…

---

<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: [September 18, 2004, 6:47pm UTC](https://forum.kirupa.com/t/access-mc-in-button/64667/2 "2004-09-18T18:47:25Z")

</div>

I don’t really understand you problem here…

Doesnt it work with:

this.PicLayer0.pl0.loadMovie (“blablabla”)

didn’t understand more that that, sorry.

---

<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: [September 19, 2004, 1:39pm UTC](https://forum.kirupa.com/t/access-mc-in-button/64667/3 "2004-09-19T13:39:33Z")

</div>

thx guy… that’s exactly what i searched for…
