onEnterFrame=function(){ xdif=_root._xmouse-G36c._x; ydif=_root._ymouse-G36c._y; angle=(Math.atan(ydif/xdif))/(Math.PI/180); if(xdif>0){ G36c._rotation=angle+90; }if(xdif<0){ G36c._rotation=angle-90; } }