AS3 OOP noob needs help!

Hi,

The Question: How have a class be able to check to see if it has hit anothercopy of itself in the class definition.

The Details: I am new to Action Script. I am very intrigued by the OOP theory and wanted to create a simple game using CS3 Flash and Action Script 3. So far I have two objects to play with. I created this objects using classes. The first is the user controlled object for the game, and the second is the enemy object. The idea was to have the user controlled object move around and wipe out all the instances of the enemy object.

Here is my problem.

I want to have some behavior built in to the enemy class object. The behavior I want is for the object to bounce off in a different direction when it hits another copy of itself on the screen. But how do you do a hitTestObject check in the class that checks to see if it hit other copies of itself?

I am not posting code yet because I only have the enemy object display and random placement done, I don’t have it moving yet. I think that will be another question.

Any help will be greatly appreciated, been banging my head against this all day.

Kind Regards,
CthulhuGeek