dropTarget

The following method lives in a class called View which extends Sprite, I’m trying to call a method after the clip is drag on top of another View. But I can’t call any methods on dropTarget (which I think its the View that I’m dragging on top of ) what am I doing wroing? thank you in advance.


private function endDrag( evt:MouseEvent ):void {
            evt.stopPropagation();
            stopDrag();
            if ( dropTarget ) {
                x = 0; y = 0;
                trace( dropTarget.someMethod);
            }
            if ( owner ) owner.update();
}