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

AS3 Error #1010

New Here ,
Oct 27, 2017 Oct 27, 2017

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
770
Translate
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

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

Translate
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
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.

Translate
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