KDM Posted August 8, 2011 Share Posted August 8, 2011 TypeError: Error #1009: Cannot access a property or method of a null object reference. at movie_fla::services_1/frame1() thanks. Link to comment https://forums.phpfreaks.com/topic/244264-what-does-this-action-script-3-error-mean/ Share on other sites More sharing options...
Maq Posted August 8, 2011 Share Posted August 8, 2011 Show us the relevant code. If you can't pinpoint it, then run in debug mode. Link to comment https://forums.phpfreaks.com/topic/244264-what-does-this-action-script-3-error-mean/#findComment-1254539 Share on other sites More sharing options...
KDM Posted August 9, 2011 Author Share Posted August 9, 2011 Ok I will when I get home. How is an object null? Link to comment https://forums.phpfreaks.com/topic/244264-what-does-this-action-script-3-error-mean/#findComment-1254696 Share on other sites More sharing options...
Maq Posted August 9, 2011 Share Posted August 9, 2011 Ok I will when I get home. How is an object null? There are a few reason how and why an object is null. After you provide the code we can take a look. Link to comment https://forums.phpfreaks.com/topic/244264-what-does-this-action-script-3-error-mean/#findComment-1254890 Share on other sites More sharing options...
KDM Posted August 9, 2011 Author Share Posted August 9, 2011 // webhostingbtn Over function function webhostingbtnOver(event:MouseEvent):void { webhostingbtn.gotoAndPlay("over"); // go into webhostingbtn movieclip and play the over frame label } // webhostingbtn Out function function webhostingbtnOut(event:MouseEvent):void { webhostingbtn.gotoAndPlay("out"); // go into webhostingbtn movieclip and play the over frame label } // webhostingbtn Listeners webhostingbtn.addEventListener(MouseEvent.ROLL_OVER, webhostingbtnOver); webhostingbtn.addEventListener(MouseEvent.ROLL_OUT, webhostingbtnOut); Link to comment https://forums.phpfreaks.com/topic/244264-what-does-this-action-script-3-error-mean/#findComment-1254957 Share on other sites More sharing options...
KDM Posted August 9, 2011 Author Share Posted August 9, 2011 I think I figured it out. I thought I could put all of my actions on a layer at frame 1. I had to move the actionscript to the exact frame my button appears on the screen. Link to comment https://forums.phpfreaks.com/topic/244264-what-does-this-action-script-3-error-mean/#findComment-1254982 Share on other sites More sharing options...
Maq Posted August 9, 2011 Share Posted August 9, 2011 I think I figured it out. I thought I could put all of my actions on a layer at frame 1. I had to move the actionscript to the exact frame my button appears on the screen. Ok good, because I don't know a thing about action script Link to comment https://forums.phpfreaks.com/topic/244264-what-does-this-action-script-3-error-mean/#findComment-1254983 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.