# Access root variables from loaded clip

**URL:** <https://forum.kirupa.com/t/access-root-variables-from-loaded-clip/315235>\
**Category:** flash\
**Created:** [October 20, 2010, 7:23pm UTC](https://forum.kirupa.com/t/access-root-variables-from-loaded-clip/315235 "2010-10-20T19:23:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poco](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@Poco](https://forum.kirupa.com/u/Poco)\
**Post date:** [October 20, 2010, 7:23pm UTC](https://forum.kirupa.com/t/access-root-variables-from-loaded-clip/315235/1 "2010-10-20T19:23:06Z")

</div>

Hi guys,

I have been trying to google this for quite a time now but I can’t seem to find anything useful.  
How can I access variables defined on root from a loaded movieclip? The loaded movieclip path can differ, so I cannot get to root like parent.parent, for example. I thought something like this.root.varName may work, but it obviously doesn’t. ☹  
Thanks for any help!

P.
