[MX]: button in movieclip

#initclip

function slot(){}
slot.prototype=new MovieClip();

slot.prototype.onPress = function (){
trace(“testing”);
}

Object.registerClass(“item”,slot);

#endinitclip


I have a button (with mouseOver states) inside a movieClip [item], after assigning the <slot> class to [item] and overwriting the movieclip’s onPress function, when ever the mouse rollover the button, it no longers displays the mouseOver state.

Any idea how I can overwrite the onPress function and have the mouseOver work at the same time?

Thanks (^.^;