# Error #1009

**URL:** https://forum.kirupa.com/t/error-1009/325277
**Category:** Uncategorized
**Created:** [October 6, 2011, 2:15pm UTC](https://forum.kirupa.com/t/error-1009/325277 "2011-10-06T14:15:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![oneof16million](https://avatars.discourse-cdn.com/v4/letter/o/f04885/32.png) [@oneof16million](https://forum.kirupa.com/u/oneof16million)
#### Post date: [October 6, 2011, 2:15pm UTC](https://forum.kirupa.com/t/error-1009/325277/1 "2011-10-06T14:15:52Z")

</div>

hey everyone,

i have something wierd…  
de error #1009 cannot access a property or method of a null object reference.  
but the code i use doesnt have anything that is null…

Mol.addEventListener(MouseEvent.MOUSE\_DOWN, mouseDownHandler);  
function mouseDownHandler(event:MouseEvent):void {

gotoAndStop(“Main”);

}

this is the code i have reapeten 5 times on multiply frames.  
(i do have changed the names ect.)  
the “Main” is a label on a frame.

when i click on 1 button, it works fine. when i click on the button that leads me back to “Main” it works, BUT then he gives the error and i cant do a thing anymore…

i hope someone knows an answer…

thanks…
