Friday, April 2, 2010

''Error #1009: Cannot access a property...

Hello,

I am getting a very strange error:

I have a public class DeadShip and 8 public classes that extend DeadShip.

DeadShip has s public static function createDeadShip():void:

When I call this function from the basecode, i get a very strange error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

at global$init()//this references to the line: public class DeadPlayerShip extends DeadShip in the file DeadPlayerShip

at Shooter1.SpaceShips.deadShips::DeadShip$cinit()

at global$init()//this references to the line: public class DeadShip in the file DeadShip

at Shooter1.SpaceShips::SpaceShip/Shooter1.SpaceShips:SpaceShip::died()

No comments:

Post a Comment