# Access loader.swf from loaded.swf

**URL:** <https://forum.kirupa.com/t/access-loader-swf-from-loaded-swf/271607>\
**Category:** Uncategorized\
**Created:** [September 25, 2008, 10:23am UTC](https://forum.kirupa.com/t/access-loader-swf-from-loaded-swf/271607 "2008-09-25T10:23:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayteq](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ayteq/32/2058_2.png) [@ayteq](https://forum.kirupa.com/u/ayteq)\
**Post date:** [September 25, 2008, 10:23am UTC](https://forum.kirupa.com/t/access-loader-swf-from-loaded-swf/271607/1 "2008-09-25T10:23:53Z")

</div>

i have two swfs. i load a swf(child) into another(parent). but i cannot call any method from parent’s document class. when i compile child swf it gives me some compile-time errors. because the function that i want to call located in parent’s Document Class.

how can i access to parent methods and variables(loader swf) from child (loaded swf)?

thank you in advance.
