# (Pre)Loader Help

**URL:** <https://forum.kirupa.com/t/pre-loader-help/318088>\
**Category:** flash\
**Created:** [January 10, 2011, 12:44pm UTC](https://forum.kirupa.com/t/pre-loader-help/318088 "2011-01-10T12:44:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Orya](https://avatars.discourse-cdn.com/v4/letter/o/90ced4/32.png) [@Orya](https://forum.kirupa.com/u/Orya)\
**Post date:** [January 10, 2011, 12:44pm UTC](https://forum.kirupa.com/t/pre-loader-help/318088/1 "2011-01-10T12:44:52Z")

</div>

Hi.  
So I created something in flash, and then added a custom preloader. That custom preloader used TLF-text though, which bombared me with error messages. I tried for some hours to get it to work well anyway, but to no avail. So I created another SWF-file which acts as preloader and loads the main file.

Now, there is one problem with that:  
The main file got some EnterFrame event listeners, which do their stuff even before I added the main file to the stage with addChild(). As such, I want to tell the main file once it should start doing it’s stuff. But I have problems with the communication between the preloader file, and the main file. I just want, once the file has been loaded and someone hits a “start”-button, that the loaded main file is told “now do your stuff”.

So, the loader is called “myLoader” in my file. I tried using “myLoader.content.doYourStuff()”, where “doYourStuff()” would be a function that starts the main file. But that doesn’t work, the function ain’t found.

Can anyone help me with that?
