dalla guida ..che a volte è molto utile

Nell'esempio seguente viene utilizzato hitTest() per determinare se il clip filmato circle_mc è sovrapposto o interseca il clip filmato square_mc quando l'utente rilascia il pulsante del mouse:

square_mc.onPress = function() {
this.startDrag();
};
square_mc.onRelease = function() {
this.stopDrag();
if (this.hitTest(circle_mc)) {
trace("you hit the circle");
}
};