Link to home
Start Free TrialLog in
Avatar of Cheryl Lander
Cheryl LanderFlag for United States of America

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.
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);

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of knonie
knonie
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial