i=0; function rot (direct) { this.onEnterFrame = function () { i=direct+i; _root.mymenu._rotation =i; } } _root.mymenu.onRollOver = function () { if (_ymouse>150) { rot(-1) } else { rot(1); } }