# Access MC in button

**URL:** https://forum.kirupa.com/t/access-mc-in-button/122938
**Category:** Uncategorized
**Created:** [September 18, 2004, 4:57pm UTC](https://forum.kirupa.com/t/access-mc-in-button/122938 "2004-09-18T16:57:14Z")
**Posts on this page:** 1
**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/122938/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…
