OAM javascript connected inside Captivate course not working in Chrome
Hi all,
I have been writing code for an OAM created in Animate CC 2017 (HTML5 canvas).
The code at the end sends back information to the Captivate file to alter variable numbers, hide/show graphics and change states of graphics.
The code works fine in Firefox and on my Android phone, but for some reason it will not work in a Chrome browser.
To help, here is a few lines of the code which works perfectly outside of Chrome:
window.parent.cp.vm.setVariableValue('varSlideEnded', 1);
window.parent.cp.changeState("UIBlocker01_Next","Normal");
window.parent.cp.show ('UIButton01_Next');
window.parent.cp.show ('UIButton02_Previous);
I have tried altering but even the following will not work in Chrome leaving my screen ending without a continue button etc:
parent.
parent.window.
window.parent.window.
window.
