Hello there
I am using Actionscript to get buttons to navigate to a designated frame on my timeline. It does not work, and i get this error message:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at home3_fla::MainTimeline/frame2()
I am a complete newbie to actionscript and cannot figure out what I am doing wrong. Anyone out there who can help?
Big thank you in advance.
Below is the script I have used:
stop();
function gohomepage_movie (e:MouseEvent):void{
gotoAndStop("homepage_movie");
}
steve_btn.addEventListener(MouseEvent.CLICK, gohomepage_movie);
function gointeriors_page (e:MouseEvent):void{
gotoAndStop("interiors_page");
}
interior_btn.addEventListener(MouseEvent.CLICK, gointeriors_page);
Actionscript 3 problem - null object reference.
Started by
suecoghlan
, Mar 28 2009 06:05 AM
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users