• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Captivate project with Animate Animation not working

Engaged ,
Oct 29, 2020 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

193

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 29, 2020 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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Oct 29, 2020 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();

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 30, 2020 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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources