# Error 1009 issues

**URL:** https://forum.kirupa.com/t/error-1009-issues/270379
**Category:** Uncategorized
**Created:** [September 9, 2008, 11:40am UTC](https://forum.kirupa.com/t/error-1009-issues/270379 "2008-09-09T11:40:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tom\_Price](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@tom\_Price](https://forum.kirupa.com/u/tom_Price)
#### Post date: [September 9, 2008, 11:40am UTC](https://forum.kirupa.com/t/error-1009-issues/270379/1 "2008-09-09T11:40:21Z")

</div>

Hi guys,

I’m new to the forum, more of a voyeur usually, however i can’t find the solution to my problem, which i think is fairly simple.

I’m trying to navigate from one frame to the next, with an external SWF loading inbetween, i’ve achieved this, however when i navigate back to the initial frame the button seems to have disappeared and i get this message:

TypeError: Error #1009: Cannot access a property or method of a null object reference.  
at movietest\_fla::MainTimeline/movietest\_fla::frame2()

The code i’m using is below:

stop();

var TestRequest:URLRequest = new URLRequest(“test1.swf”);  
var TestLoader:Loader = new Loader();

intro\_btn.addEventListener(MouseEvent.MOUSE\_DOWN, newvid);

function newvid(event:MouseEvent):void {  
TestLoader.load(TestRequest);  
addChild(TestLoader);

}

TestLoader.addEventListener(Event.REMOVED, goToParent);

function goToParent(event:Event):void {  
gotoAndStop(3);  
}

Any help would be greatly appreciated

Thanks
