Open JimLeichliter opened 12 years ago
Good info, thanks. I'll look into incorporating cpAllSlidesLoaded
. Do you know if this is specific to CP5.5, or is it also available in CP5? I haven't seen it before (but admittedly haven't looked for it).
It's in both Cp 5 and 5.5. It does not exist in Cp 4 and below. Thanks for looking into this and possibly incorporating.
Cheers!
Jim
I've confirmed cpAllSlidesLoaded() is in Cp 6 Beta as well.
Hi Philip,
First, thank you for your amazing work redoing these templates. The console logging and updated features are fantastic improvements. I have one minor suggestion... this is not a bug/issue.
As you probably already know, Captivate has some internal processes that dynamically generate the slides once it's fully loaded by the browser. If a Captivate Developer executes a call to cpCmndGotoSlideAndResume inside the customJavaScript() function, it may or may not work depending if the Captivate swf has finished loading all of the slides.
In the CaptivateMainTimeline.as file, you'll see a call to EI: ExternalInterface.call("cpAllSlidesLoaded");
Not too many folks know about this call and it would be awesome to have a JS template method they could use similar to the customJavaScript() template method you provided in the Default.htm file(s).
In addition to the cpAllSlidesLoaded, Captivate also calls "cpSlideLoaded" via EI when each slide has loaded. This makes for some pretty interesting possibilities. I'm sure we'll have some more JS goodness in Cp6 with HTML5 support!
Thank you for your awesome effort on this project!
Jim Leichliter