Skip to main content
Participant
October 28, 2017
Question

AS3 Error #1010

  • October 28, 2017
  • 2 replies
  • 815 views

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:

This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
October 28, 2017

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.

Ned Murphy
Legend
October 28, 2017

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