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

AS3 Error #1010

New Here ,
Oct 27, 2017 Oct 27, 2017

Copy link to clipboard

Copied

I am currently getting an error in my code and I'm not sure why.

Here's the error:

TypeError: Error #1010: A term is undefined and has no properties.

at BallGame_fla::MainTimeline/testEnemyHit()

at BallGame_fla::MainTimeline/eFrame()

Here's the code:

TOPICS
ActionScript

Views

676

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 ,
Oct 28, 2017 Oct 28, 2017

Copy link to clipboard

Copied

Try commenting out sections of code until you can narrow down where the error comes from.

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
Community Expert ,
Oct 28, 2017 Oct 28, 2017

Copy link to clipboard

Copied

LATEST

or click file>publish settings>tick 'permit debugging'>retest.

the problematic line number (ie, the one trying to reference an undefined object) will be in the (more verbose) error message.

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