Skip to main content
teresah9791625
Known Participant
December 18, 2017
Question

custom cursor in captivate 2017

  • December 18, 2017
  • 1 reply
  • 342 views

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?

    This topic has been closed for replies.

    1 reply

    TLCMediaDesign
    Inspiring
    December 18, 2017

    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')"

    teresah9791625
    Known Participant
    December 18, 2017

    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?