I'm trying to create an effect where the cursor changes when the user rolls over certain (selectable) clips. The script works fine for a single clip, but when copied to other clips, only works for one clip, and not the rest.
myCursor is initially offstage, so is invisible by default.
onClipEvent (mouseMove) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.myCursor._visible=true;
Mouse.hide();
_root.myCursor._x=_root._xmouse;
_root.myCursor._y=_root._ymouse;
} else {
Mouse.show();
_root.myCursor._visible=false;
}
}
