Captivate project with Animate Animation not working

Engaged ,
Oct 29, 2020

Copy link to clipboard

Copied

There is a Captivate project with Animate animations in it.  These animations play when the project is hosted on Internet Explorer but do not appear when the project is played in Chrome.  The developers wanted to delay the Captivate next button until the animation finished and added the following code to the project-  

window.parent.parent.window.cpAPIInterface.pause();

window.parent.parent.window.cpAPIInterface.play();

Would appreciate any ideas on how to fix this.

Thank you,

Susan

TOPICS
Advanced

Views

62

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Most Valuable Participant ,
Oct 29, 2020

Copy link to clipboard

Copied

AFAIK that code has nothing to do with showing a Next button after the animations, it is just the Play and Pause command.

Is it an OAM? Maybe it is a SWF animation, which will only play on browsers having the Flash Player plugin installed. That may be the case with old IE but not with Chrome.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Oct 29, 2020

Copy link to clipboard

Copied

I would think there are too many parents, should be:

 

window.parent.window.cpAPIInterface.pause();

window.parent.window.cpAPIInterface.play();

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Advocate ,
Oct 30, 2020

Copy link to clipboard

Copied

HI Gray Susan,

you are saying "the developers wanted to delay the Captivate next button". When you have a next button with Go to the next Slide, why not hiding it at first with Eye symbol in the Properties Panel, supply it with a unique ID, like let's say delayedNextButton and in Animate you (or the developers) add the following code in the Animate Timeline where the animation is finished:

window.parent.window.cp.show("delayedNextButton");

or if that doesn't work, try:

window.parent.window.cpAPIInterface.show("delayedNextButton");

No garantees, but I guess it will work

Klaus

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
kdmemory LATEST
Advocate ,
Oct 30, 2020

Copy link to clipboard

Copied

But - thinking about it, if you mean with Captivate next button the Play button in the standard Playbar, then forget my suggestion and TLCMediaDesign's method is the working one.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more