• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

new in flash .. can someone help me

Guest
Apr 14, 2012 Apr 14, 2012

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

}

TOPICS
ActionScript

Views

314

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 14, 2012 Apr 14, 2012

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines