# Access MC property inside the MC itself?

**URL:** https://forum.kirupa.com/t/access-mc-property-inside-the-mc-itself/287794
**Category:** flash
**Created:** [May 6, 2009, 11:11am UTC](https://forum.kirupa.com/t/access-mc-property-inside-the-mc-itself/287794 "2009-05-06T11:11:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jazzperson](https://avatars.discourse-cdn.com/v4/letter/j/958977/32.png) [@Jazzperson](https://forum.kirupa.com/u/Jazzperson)
#### Post date: [May 6, 2009, 11:11am UTC](https://forum.kirupa.com/t/access-mc-property-inside-the-mc-itself/287794/1 "2009-05-06T11:11:38Z")

</div>

Hi Kirupas!

I have a small and properly very simple problem.

I create a new Ball movieclip and sets the Uid property:

var ball\_mc:Ball = new Ball();  
ball\_mc.uID = “1232435”;  
addChild(ball\_mc);

From outside the movieclip i can access the property value by trace(ball\_mc.uID);, but what if i what to reach the value inside the movieclip itself? trace(uID); or trace(ball\_mc.uID); dosent seem to work.

Hope someone can give me a hint - and yes, i’m a n00b…:whistle:
