Hi, I need help with my error!

By Nica06 | Jul 29, 2009

actionscript3

I’m getting the error TypeError: Error #1009: Cannot access a property or method of a null object reference.
at MainEnglish_fla::MainTimeline/playClip()
when I click on my About Us button, which is A_btn.

Quote:

stop();
import flash.events.MouseEvent;
var getBlog:URLRequest = new URLRequest("http://www.google.com/");

//Recipes\\

R_btn.addEventListener(MouseEvent.CLICK, playClick);

function playClick(event:MouseEvent):void{
navigateToURL(getBlog);
}

//About Us Button Changes\\

A_btn.addEventListener(MouseEvent.CLICK, playClip);

function playClip(event:MouseEvent):void{
About_mc1.gotoAndPlay(20);
}


actionscript3

Please reply at our Forum

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2007 ActionScript 3.0