Contact Listener giving - 5000: The class 'Main' must subcla

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

Image

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

Original thread: https://box2d.org/forum/viewtopic.php?t=8844