bob.onRollOver = fncOver; bob.onRollOut = fncOut; function fncOver(){ this._alpha = 0.5; } function fncOut(){ this._alpha = 1; }