# Empowering the externally loaded swf? Please?

**URL:** https://forum.kirupa.com/t/empowering-the-externally-loaded-swf-please/243813
**Category:** Uncategorized
**Created:** [November 11, 2007, 10:55am UTC](https://forum.kirupa.com/t/empowering-the-externally-loaded-swf-please/243813 "2007-11-11T10:55:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pleeschultz](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@pleeschultz](https://forum.kirupa.com/u/pleeschultz)
#### Post date: [November 11, 2007, 10:55am UTC](https://forum.kirupa.com/t/empowering-the-externally-loaded-swf-please/243813/1 "2007-11-11T10:55:21Z")

</div>

I know that this has been discussed elsewhere, but I’m almost to my breaking point and I need to solve this problem.

If I have and externally loaded swf (loaded.swf) and a loader swf (loader.swf), How would I go about calling a function that exists in loader.swf from loaded.swf once it has been loaded?

AS2 - Loader  
function pleaseWork(){  
trace(“I work”);  
}

AS3 - Loaded  
\_root.pleaseWork();

I’m new to AS3, and this seems to be my biggest hurdle yet. I’ve spent hours reading certain aspects of AS3 and haven’t found a clean, simple answer to this question. I’ve been using this method constantly in AS2 and need to find it’s equivalent in AS3.

I’ve tried root.pleaseWork(); as well as MovieClip(root).pleaseWork(); - I’m pretty sure the second shouldn’t have anything to do with it unless… well, I guess I’m just confused.

Thanks for any help.
