Copy link to clipboard
Copied
These error keeps popping up ....
error #1010 : a tem has not been defined and ghas no properties
Can someone tell me what i am doing wrong ? and how to fix it ?
//LOAD RANDOM BACKGROUND FROM 1 TO 5
var randomNumber: Number = Math.ceil(Math.random()*5);
trace (randomNumber);
bkImage.source="RANDY/bk"+randomNumber+".jpg";
//LISTEN FOR THE CLICK OF THE MOVIES
content_mc.about_btn.addEventListener(MouseEvent.CLICK, aboutClick);
function aboutClick(e:MouseEvent):void{
trace("homeClick")
}
Copy link to clipboard
Copied
Go into your Flash Publish Settings and select the option to Permit Debugging. Then your error message will include the line number where the problem is.
Then you need to trace out the various things in that line to see which is coming up missing.