Name: Anonymous 2010-12-10 1:56
Hello, I ask for your help.
I get the following error :
TypeError: Error #2007: Parameter listener must be non-null.
The error comes from this line :
if ((base.hitBox.hitTestObject(rocketTemp.rocketHitArea) || base.hitBox2.hitTestObject(rocketTemp.rocketHitArea)) && rocketTemp.currentFrame == 1 )
When I replace rocketHitArea by something else, the error goes away. But I've used rockedHitArea in other lines and it works well.
Your help is appreciated. Thank you and sorry for my bad english.
I get the following error :
TypeError: Error #2007: Parameter listener must be non-null.
The error comes from this line :
if ((base.hitBox.hitTestObject(rocketTemp.rocketHitArea) || base.hitBox2.hitTestObject(rocketTemp.rocketHitArea)) && rocketTemp.currentFrame == 1 )
When I replace rocketHitArea by something else, the error goes away. But I've used rockedHitArea in other lines and it works well.
Your help is appreciated. Thank you and sorry for my bad english.