Skip to main content
bill2318
Participant
October 26, 2020
Question

Just Need to Start/Stop/and jump to frame w Jquery.

  • October 26, 2020
  • 1 reply
  • 430 views

Good day. Can anyone share a simple example of best practices to export my HTML5 created animation, import into dreamwaver, and create a start/stop/ toggle? Also, a jump to frame label "gotoAndStop()" but in Jquery. The simpler the better. 

 

I have been able to load my files in as an oam file package, and do certain things: (slideUp, hide, etc). But I have not been able to control the playback. There is little to no support out there anymore for this product. 

Thanks for any support you can lend. 

 

    This topic has been closed for replies.

    1 reply

    Community Expert
    November 8, 2020
    bill2318
    bill2318Author
    Participant
    November 15, 2020

    Nick,

    Thank you for replying to this thread.

     

    Actually, what I wanted was a method for apply "play" and "stop" commands to the OAM package file after it is imported into dreamweaver. So the buttons would not be embedded in the Animate CC timeline. They would be external buttons / divs in dreamweaver that would control the playback.

     

    Thank you again and I hope this makes sense. I will be checking back for your reply.

    Legend
    November 15, 2020

    I don't know why you're insistent on using jQuery for something so basic. HTML5 Canvas documents create a variable in the document global scope named exportRoot that references the Animate root timeline. So just do exportRoot.play(); or whatever from any code anywhere on the page to control its timeline.