AS2:: Is not equal to hitTest


I was just wondering if this is possible…

Can I write:

if (this.hitTest !=(HitTest_mc)) {
trace("not there");

Basically all I want it to do is I have a drag item and it can be dragged anywhere on the stage. If it hits - HitTest_mc then it does one action but if when released it hits anywhere else in the stage it performs another.

I can’t do an else statement as it is on a MouseUp statement and it just mucks up other pieces of code.