as i attempt to migrate over to 3.0, i’m stumped by what’s probably a simple goof. I’ve made a working custom cursor, but a separate mc which was a draggable object with the default cursor now ignores the custom cursor.
any help greatly appreciated!!
my code:
[FONT=Courier New]stage.addEventListener(MouseEvent.MOUSE_MOVE, newCursor);
Mouse.hide();
rectangle2_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragger);
rectangle2_mc.addEventListener(MouseEvent.MOUSE_UP, dropper);
//cursor replacement function
function newCursor(event:MouseEvent):void {
cursor_mc.x = mouseX
cursor_mc.y = mouseY;
event.updateAfterEvent();
}
//dragging function
function dragger(event:MouseEvent):void {
event.target.startDrag();
}
//dropping function
function dropper(event:MouseEvent):void {
event.target.stopDrag();
}
[/FONT]