Copy link to clipboard
Copied
I am using captivate 2017 to build an equipment simulation for html5 export. I want the user to click on the stylus and have the cursor change to something that looks like stylus. I have been able to get this to work in Adobe Animate using
function fl_CustomMouseCursor_3() {
this.mc_stylus.x = stage.mouseX;
this.mc_stylus.y = stage.mouseY;
}
I am trying to get something like this to work in captivate. Anybody have any suggestions?
Copy link to clipboard
Copied
You can execute this JavaScript, but you'll need an image to use and you'll need to figure out a place to put it and the path.
document.body.style.cursor = "url('callees/my-cursor.png')"
Copy link to clipboard
Copied
I can’t seem to get this to work. Even in just a straight html file. Is there a special way that you have to save the graphic. It is not throwing any errors just not displaying graphic?