2 Replies Latest reply on Sep 15, 2014 7:43 AM by Johnxxii22

    Edge Animate & Captivate 8 Javascript /HTML5

    Johnxxii22

      I am trying to control a Captivate timeline using Javascript called from an Edge Animate .OAM, Does anyone have any clue as to what I would need to call to access the Captivate timeline?

       

      Just as an example, I have tried using the following code on a click function in Edge Animate to bring back the current time with no luck...

       

      var cp = document.Captivate;

      alert(cp.cpEIGetValue("m_VarHandle.cpInfoCurrentTime"));

       

      So just to clarify, I added this code to a click function in Animate, published it as a .OAM, added it into Captivate 8 as a HTML5 animation, then tested in HTML5 browser.

       

      Any help or information would be greatly appreciated!

       

      John.