Hi,
I am trying to implement collision detection using b2contactlistener class, now for this i created a class TestContact and extended it with b2ContactListener so that i can override the contact methods and see how it works, but before i could do any thing the moment i enter the class name in the class section like this

i get the following error
5000: The class 'Main' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
I know i might be making a very basic error, please guide in this regard...
Regards
Jin
I am trying to implement collision detection using b2contactlistener class, now for this i created a class TestContact and extended it with b2ContactListener so that i can override the contact methods and see how it works, but before i could do any thing the moment i enter the class name in the class section like this

i get the following error
5000: The class 'Main' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
I know i might be making a very basic error, please guide in this regard...
Regards
Jin