troubleshooting Question

Changing a mouse cursor in flash

Avatar of Cheryl Lander
Cheryl LanderFlag for United States of America asked on
Adobe Flash
1 Comment1 Solution240 ViewsLast Modified:
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);
ASKER CERTIFIED SOLUTION
knonie

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros