Answered
mouse pointer
how can i change the mouse pointer to movie clip or to object from the labrary?
how can i change the mouse pointer to movie clip or to object from the labrary?
Here is a suggestion:
stage.mouseMoveHandler = function()
{
stage.customCursor.x = stage.mouseX / stage.scaleX;
stage.customCursor.y = stage.mouseY / stage.scaleY;
};
stage.canvas.style.cursor = "none";
stage.mouseMoveOutside = true;
stage.customCursor = new lib.YourLibSymbol(); // YourLibSymbol is the symbol's linkage name in the Library
stage.customCursor.mouseEnabled = false;
stage.addChild(stage.customCursor);
stage.on("stagemousemove", stage.mouseMoveHandler);
stage.mouseMoveHandler();
Regards,
JC
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.