Dang Error #1009 !

Posted by boz on Stack Overflow See other posts from Stack Overflow or by boz
Published on 2010-05-16T04:08:59Z Indexed on 2010/05/16 4:20 UTC
Read the original article Hit count: 257

Filed under:
|

I'm building a simple flash site for a friend who has a spa.

I keep getting this error:

Error #1009: Cannot access a property or method of a null object reference. at spa7_fla::MainTimeline/frame1()

through the process of commenting out code, i've narrowed down to my link section:

vox_link.addEventListener(MouseEvent.CLICK,gotoVox); function gotoVox(evtObj:Event):void {
var voxSite:URLRequest=new URLRequest("http://www.voxmundiproject.com"); navigateToURL(voxSite, "_blank"); }

With this section commented out, i don't get the 1009 error. When the code is active, I get the error.

My code syntax is correct so I'm stumped.

Does someone have an idea what my be wrong?

Thanks!

© Stack Overflow or respective owner

Related posts about flash-cs4

Related posts about actionscript-3