# Can someone puts me out of my misery? please!

**URL:** <https://forum.kirupa.com/t/can-someone-puts-me-out-of-my-misery-please/293979>\
**Category:** Uncategorized\
**Created:** [August 6, 2009, 10:41am UTC](https://forum.kirupa.com/t/can-someone-puts-me-out-of-my-misery-please/293979 "2009-08-06T10:41:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigmic](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@bigmic](https://forum.kirupa.com/u/bigmic)\
**Post date:** [August 6, 2009, 10:41am UTC](https://forum.kirupa.com/t/can-someone-puts-me-out-of-my-misery-please/293979/1 "2009-08-06T10:41:00Z")

</div>

Ok, so here is the problem

I have the main site called godsandmonsters.fla. This works just fine. Buttons, menu etc.  
The site is in a movie clip

Then, I have an index.fla which is the loader

here is the action script

* * *

var l:Loader = new Loader();  
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);  
l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);  
l.load(new URLRequest(“godsandmonsters.swf”));

function loop(e:ProgressEvent):void  
{  
var perc:Number = e.bytesLoaded / e.bytesTotal;  
percent.text = Math.ceil(perc\*100).toString();  
}

function done(e:Event):void  
{  
percent\_mc.visible=false;  
removeChildAt(0);  
percent = null;  
addChild(l);  
}

* * *

But then if I publish the index.fla, I keep getting this message

* * *

TypeError: Error #1009: Cannot access a property or method of a null object reference.  
at godsandmonsters\_fla::godsandmonsters\_mc\_1/frame1()

* * *

and then, nothing work except for the intro music.

Can someone please help

Many many thanks
