# Global Functions?

**URL:** <https://forum.kirupa.com/t/global-functions/242856>\
**Category:** flash\
**Created:** [October 31, 2007, 1:43am UTC](https://forum.kirupa.com/t/global-functions/242856 "2007-10-31T01:43:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![girasquid](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@girasquid](https://forum.kirupa.com/u/girasquid)\
**Post date:** [October 31, 2007, 1:43am UTC](https://forum.kirupa.com/t/global-functions/242856/1 "2007-10-31T01:43:02Z")

</div>

Hello, all.

I have two SWF’s. One of them is a container SWF, that has a loading screen and a few other functions - it loads the other “child” SWF into it, and then displays its loading screen.

I have found that the child SWF can access the parent’s functions using \_root.functionName - however, I would like to make it so that the child can access the parent’s functions without having to specify \_root.

Is there a way to make the parent SWF’s functions ‘global’, so that any SWF’s loaded into it can access its functions?

Thanks,  
Girasquid
