JavaScript works in HTML 5 output but not SWFoutput
March 21, 2019
JavaScript works in HTML 5 output but not SWFoutput
March 21, 2019
Newbie 2 posts
Followers: 0 people

Hi,

When I test my JavaScript it works in HTML5 in browser. Yet I have some roll over captions I cannot remove and so must publish in SWF. In SWF in browser and in final publishing the JavaScipt won’t work. The script is below. Please let me know what I can do.

$(“#” + “AudioOn”).css(“visibility”,”hidden”);   // hide the audio button

All Comments
Sort by:  Most Recent
Mar 22, 2019
Mar 22, 2019

Hi, that won’t work as I’m using numbers and then when the user rollovers the caption appear. For states the object size for rollover has to be the same size. Thanks but not a solution for my project. What would the AS scripting version be of my JS? I’m trying to remove the audio button from the playbar for one slide only as indicated in my JS example.

Like
()
Mar 22, 2019
Mar 22, 2019

Here is the link to the blog post I mentioned in a previous comment:

http://blog.lilybiri.com/rollover-in-fluid-boxes

Like
()
Mar 22, 2019
Mar 22, 2019

Yes, know SWF will no longer be an option, but must use a roll over caption which is only available in SWF. Seems Adobe should update this sooner rather than later. I don’t know of an advanced action that will remove the audio button from the playbar for a slide that does not have audio then add it back in on the slide that does. If you could recommend a system variable that impacts the buttons on the playbar, please do.

Thank you!

Like
()
(1)
Mar 22, 2019
Mar 22, 2019
>
cunyocss
's comment

Not totally true. Rollover caption will be functional in HTML5 output, but only for desktop/laptop screens, using trackpad or mouse. I wrote a blog post explaining how you can mmick a rollover in fluid boxes responsive projects, which do not allow rollovers at all. Will post a link in a separate comment.

Yoi cannot edit the default playbar like you wanted, it has to be set in the skin editor. I never use a default playbar, bu custom buttons. Then it is of course possible.

Like
()