# Error #1009

**URL:** <https://forum.kirupa.com/t/error-1009/329787>\
**Category:** Uncategorized\
**Created:** [October 16, 2012, 12:59am UTC](https://forum.kirupa.com/t/error-1009/329787 "2012-10-16T00:59:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elusiV](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@elusiV](https://forum.kirupa.com/u/elusiV)\
**Post date:** [October 16, 2012, 12:59am UTC](https://forum.kirupa.com/t/error-1009/329787/1 "2012-10-16T00:59:03Z")

</div>

fairly new to flash however at work i have this task to create an interactive screen like a gameboy for example.

by only clicking left right and select i want to be able to continuously scroll through the highleighted options then press select on one option which will then take me to another screen.

How i have gone about this is create the options on each keyframe and the left and right button highlight each option.

I have made a new scene which when i press select it takes me to. that works fine however…

The problem is i can go to the new scene i just cannot go to another… i have the same code with changed ClickHandler names but it doesnt want to work.

these are the errors im getting.

[COLOR=#FF0000]TypeError: Error #1009: Cannot access a property or method of a null object reference.  
at interactive\_godgun\_fla::MainTimeline/frame27()  
at flash.display::MovieClip/gotoAndStop()  
at interactive\_godgun\_fla::MainTimeline/btn\_selectClickHandler2212()  
TypeError: Error #1009: Cannot access a property or method of a null object reference.  
at interactive\_godgun\_fla::MainTimeline/frame27()  
at flash.display::MovieClip/gotoAndStop()  
at interactive\_godgun\_fla::MainTimeline/btn\_leftClickHandler\_hit\_back()  
[/COLOR][COLOR=#0000FF]

[/COLOR]  
my code for each frome looks like this.

[COLOR=#0000FF]stop();[/COLOR]  
[COLOR=#0000FF]btn\_left.addEventListener(“click”, btn\_leftClickHandler4);  
function btn\_leftClickHandler4(event)  
{  
gotoAndStop(3);  
}[/COLOR]  
[COLOR=#0000FF]btn\_right.addEventListener(“click”, btn\_rightClickHandler4);  
function btn\_rightClickHandler4(event)  
{  
gotoAndStop(5);  
}  
btn\_select.addEventListener(“click”, btn\_selectClickHandler2212);  
function btn\_selectClickHandler2212(event)  
{  
gotoAndStop(1, “field”);  
}[/COLOR]  
[COLOR=#0000FF]  
[/COLOR][COLOR=#000000]  
i can scroll through the menu options but i can only go back 1 option and wont move on from there.

Any advice critiq is welcomed. thanks[/COLOR]
