Cheryl Lander
asked on
Changing a mouse cursor in flash
I have this code which makes a smooth rendering cursor in flash using updateAfterEvent();
how would I go about changing this code to work when you move your cursor over a particular movieclip e.g. mc_square.
how would I go about changing this code to work when you move your cursor over a particular movieclip e.g. mc_square.
Mouse.hide();
onMouseMove = function () {
feedback.text = "You are moving your mouse";
cursor._x = _xmouse;
cursor._y = _ymouse;
updateAfterEvent();
};
onMouseDown = function () {
feedback.text = "You pressed the left mouse button";
};
onMouseUp = function () {
feedback.text = "You released your left mouse button";
};
myListener = new Object();
myListener.onMouseWheel = function () {
feedback.text = "You are playing with your mouse wheel";
};
Mouse.addListener(myListener);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.