# Access variable on stage from inside a mc

**URL:** <https://forum.kirupa.com/t/access-variable-on-stage-from-inside-a-mc/324568>\
**Category:** Uncategorized\
**Created:** [August 27, 2011, 9:09am UTC](https://forum.kirupa.com/t/access-variable-on-stage-from-inside-a-mc/324568 "2011-08-27T09:09:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![microScript](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@microScript](https://forum.kirupa.com/u/microScript)\
**Post date:** [August 27, 2011, 9:09am UTC](https://forum.kirupa.com/t/access-variable-on-stage-from-inside-a-mc/324568/1 "2011-08-27T09:09:51Z")

</div>

Hi guys,

I have a variable on stage which I need to access from inside a mc. I can able to call other mc’s on stage using “parent”, I used to same here, but I can’t get the variable. when compiled throws “undefined variable”.

Thanks in advance
