Copy link to clipboard
Copied
Hi,
So i have a customized playbar which works fine in swf and html5, and in html5 using advance actions i can hide the forward button if i need to. but the same script dont seem to work (entirely) on the flash (swf) version of the content. Unfortunatelly i still need to have the flash version active :(.
Here´s the advance action in using:
$("#" + "playbarSliderThumb").css("visibility","hidden");
$("#" + "Forward").css("visibility","hidden");
$("#" + "playbarSlider").css("pointer-events","none");
$("#" + "playbarSlider").click(function() { return false; });
Now, question is, how can i send a command for example " pbcBtnForward_mc.visible = false;" to flash, from the advance actions menu, so the forward button of the playbar hides or is shown as needed.
Its weird because part of the code works ok, but the playbarSlider is also in the CSS file of the project so im wondering if that has something to do with it still working even in the flash version. The Forward button is not in the css, and the code doesnt do anything.
Any idea? How to pass an as3 command in captivate using JS?
Thanks
Have something to add?