I'm using Flash to call in a Captivate 5.5 file and control everything through Flash. I can control just about everything in Captivate just fine, but the only thing I need to figure out is how to tell if the current slide is on the last frame.
In Flash I have a "Next" button that will advance the Captivate project when clicked, but I want to hide the button until the Captivate slide is complete. I can use MovieClip(_swfLoader.content).rdinfoCurrentFrame
just fine and it works perfect, but MovieClip(_swfLoader.content).rdinfoFrameCount
gets the frames for the whole project and not just the slide the user is currently on.
I thought maybe I could access Captivates slide duration in seconds, but that is a no-go as well :( I cannot believe Adobe did not create a variable that will give developers access to any type of slide duration or slide completion.
One thought I have is to create some type of loop that would loop the current frame count and when the frames match, then the end of the slide has happened and make the "Next" button visible. But, I'm thinking the loop happens faster than the frame progression, so any type of frame count will match the current frame.
Another idea I had is check if the current pause state of Captivate is true (meaning Captivate is paused). In each Captivate slide I have a pause at the end of every slide to prevent automatic slide progression, but I couldn't find a way to check the pause status.
Has anyone ever ran into this issue? How did you over come this?
Here's a couple links to Captivate AS3 variables:
Thanks!