# URGENT:: How to access the variables of external SWF

**URL:** <https://forum.kirupa.com/t/urgent-how-to-access-the-variables-of-external-swf/264101>\
**Category:** Uncategorized\
**Created:** [June 23, 2008, 7:15am UTC](https://forum.kirupa.com/t/urgent-how-to-access-the-variables-of-external-swf/264101 "2008-06-23T07:15:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brightTimes](https://avatars.discourse-cdn.com/v4/letter/b/74df32/32.png) [@brightTimes](https://forum.kirupa.com/u/brightTimes)\
**Post date:** [June 23, 2008, 7:15am UTC](https://forum.kirupa.com/t/urgent-how-to-access-the-variables-of-external-swf/264101/1 "2008-06-23T07:15:34Z")

</div>

Hi all,

I have an MovieClip on Stage with instance name main\_mc. I am loading an external game.swf in that main\_mc. I want to access variables of root through game.swf.

I have used loadMovie() to load the external swf.

I am not able to access these variables.

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 23, 2008, 7:58am UTC](https://forum.kirupa.com/t/urgent-how-to-access-the-variables-of-external-swf/264101/2 "2008-06-23T07:58:09Z")

</div>

maybe

\_root.main\_mc.variable name ?
