Skip to main content
Known Participant
May 11, 2009
Question

Captivate progress bar controlled by Flash Actionscript

  • May 11, 2009
  • 1 reply
  • 2137 views

Hi,

I am currently working on a project where I need to load multiple captivate files (topics) into a Flash interface to create an e-Learning module. I have greated a progress indicator within the Flash interface which indicates how far through the module you are. This is working correctly, however I would like to display more information.

Currently it only moves the progress indicator when a particular topic (captivate swf) has been viewed (if I have viewed 4 topics out of 10 it would show 40%). What I would like to do is also make the progress indicator move when the user moves to a new slide within the captivate movie (if I have viewed 4 out of 10 topics, and viewed 5 out of 10 slides of the current captivate movie it would show 45%).

As I mentioned the multiple captivate movies are being loaded into Flash, and that is where the progress indicator is currently sitting (controlled by Actionscript). Is there any way of Flash finding out when the user has navigated to a new slide within Captivate? I have noticed in the output that every time a new slide is viewed the following code is displayed to the output:

Branching::script:;;
deepak branching : scripteval:[object Object];

Does anyone know what this action/function that Captivate is calling is? Can I call a listener function testing for this action/function?

Kind regards,

Duncan

This topic has been closed for replies.

1 reply

Daniel Gimness
Inspiring
May 19, 2009

Hi Duncan,

The "deepack" output is a trace function the developer put inside of Captivate 4 for testing purposes I believe and doesn't serve any other purpose. There is a Captivate 4 system variable available from the Project>Actions>Variables menu that will track the current frame(slide) within Captivate. If you load the published captivate .swf file into Flash, you can access this variable by targeting the instance of the loaded .swf movie and then the name of the variable.

Dan