okay, i'm trying to get this line to follow the cursor from the middle, so I can get some practice making things follow each other, but it only ****s up if it gets close to 90 or -90 on the Degree Scale. And it doesn't follow the cursor exactly.
http://img515.imageshack.us/my.php?image=rotatb8.swf
Code:
onClipEvent (load) {
	radToDeg = function (rad) {
		radTrans = rad;
		rad = (180/Math.PI)*radTrans;
	};
	degToRad = function (deg) {
		degTrans = deg;
		deg = degTrans*(Math.PI/180);
	};
}
onClipEvent (enterFrame) {
	_root.xMous = _root._xmouse;
	_root.yMous = _root._ymouse;
	xSour = (_root.xMous-200);
	ySour = (_root.yMous-200);
	hypLength = Math.sqrt((xSour*xSour)+(ySour*ySour));
	_root.rotaRad = Math.asin(((Math.PI/2)/(hypLength))*ySour);
	_root.rotaDeg = ((180/Math.PI)*_root.rotaRad);
	_root.rotaDegPosd = Math.round(_root.rotaDeg);
	if (xSour>0) {
		_rotation = _root.rotaDegPosd;
	} else if (xSour<0) {
		_rotation = (-1*_root.rotaDegPosd+180);
	}
}
Any help is appreciated!!