# Very Strange Issue with Error #1009

**URL:** <https://forum.kirupa.com/t/very-strange-issue-with-error-1009/283983>\
**Category:** flash\
**Created:** [March 13, 2009, 10:14am UTC](https://forum.kirupa.com/t/very-strange-issue-with-error-1009/283983 "2009-03-13T10:14:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kritphong](https://avatars.discourse-cdn.com/v4/letter/k/958977/32.png) [@Kritphong](https://forum.kirupa.com/u/Kritphong)\
**Post date:** [March 13, 2009, 10:14am UTC](https://forum.kirupa.com/t/very-strange-issue-with-error-1009/283983/1 "2009-03-13T10:14:22Z")

</div>

I’m trying to load an external .swf using UILoader. If the .swf doesn’t have any code, it loads fine. But if I add any code, even only comments. It gives me this error.

```auto
 
TypeError: Error #1009: Cannot access a property or method of a null object reference.
 at main_fla::MainTimeline/__setProp_BackgroundLoader_Scene1_BG_0()
 at main_fla::MainTimeline()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
 at main_fla::MainTimeline/LoadComplete()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at flash.net::URLLoader/onComplete()

```

Here is my project.  
[http://kritphong.co.cc/downloads/project.zip](http://kritphong.co.cc/downloads/project.zip)
