Skip navigation
anagabycopo
Currently Being Moderated

new in flash .. can someone help me

Apr 14, 2012 3:34 PM

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")

}

 
Replies
  • Currently Being Moderated
    Apr 14, 2012 3:57 PM   in reply to anagabycopo

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points