AS newb needs help - button vs movieclip code. :)

Ok guys, thanks for checking this out, as i stated previously, i am a TOTAL newb at actionscript, although i am learning. Anyway, i have some movieclips “buttons” and some button code that I want to implement to it. So basicly i want to convert the movie clips to buttons, and use the code that was on the movieclip and convert it so it works with a button (make sense so far?) Heres the code:
Button code that i want in the movie clip “button”

var tipInt;
processTip();

function processTip(){

            b1.onRollOver = function() {
                tipInt = setInterval(showTip,100,"This is item01");
            }
            
            b1.onRollOut = function() {
                hideTip();
            }

Movie clip code that i want in the button code so i think it needs to be converted somehow to button code (i have no idea :crying:)

on (release) {
    ad = this._x;
    op = this._y;
    _root.angle = (Math.atan2(op, ad)/Math.PI*180);
}
onClipEvent (enterFrame) {
    ad = this._x;
    op = this._y;
    angle = (Math.atan2(op, ad)/Math.PI*180)+180;
    if (_root.mov == false) {
        if (_root.rot == angle) {
            this._alpha = 50;
        } else {
            this._alpha = 100;
        }
    }else{
        this._alpha = 100
    }
}

I hope this makes sense to you Actionscript gurus out there, and I am looking forward to your responses (if any :to:)

Thanks guys!:esmirk: