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. Quote 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. Quote 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? Quote 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. Quote 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); Quote 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. Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.