Adobe Captivate 3 uses different variables to keep track of things when it runs. These variables can be read from Adobe Flash and used for many different purposes.
In this post I’ll show you how to grab two variables from Adobe Captivate and then make a simple progress indicator you can use in your courses. The progress indicator it self is made in Adobe Flash and it’s a very simple process. You can download all sourcefiles from this post.
You can see how the result look like here: http://www.cpguru.com/testFiles/captivateProgress/captivateProgress.htm
The variables:
Lets start by looking at the two variables we need to read from Adobe Captivate.
rdinfoCurrentSlide – This variable contain the current slide/page of the Captivate project. Adobe Captivate counts the slides from 0 so basically 0 = page 1, 1 = page 2 etc.
rdinfoSlideCount – This variable contain the total amount of slides/pages in your Captivate project.
The Flash component:
So now that we know which variables we need it’s relatively simply to get the data from them. I assume that you have basic knowledge of Adobe Flash and know how to set up a dynamic text field on the stage.
Open flash and create two dynamic text fields. Give them the instance names of curSlide_txt and totSlide_txt
Copy and paste the Actionscript below into Flash and save/publish your Flash file.
var currSlide;
this.stop();onEnterFrame = function () {
currSlide = _root.rdinfoCurrentSlide +1;
this.curSlide_txt.text = currSlide;
this.totSlide_txt.text = _root.rdinfoSlideCount;}
Now open up a Adobe Captivate project and import the Flash file you just made as an animation. Set it to start 0.5 seconds into the page and select no transition. I added the flash animation to my first slide in Captivate and selected “Display for rest of project”.
That’s all there is to it. If you publish your Captivate project now you can see the current slide and total slide.
Now all you need to do is make some nice graphics in Photoshop/Flash and make your progress indicator match your Captivate project.
Download sourcefiles (Captivate project & FLA file below)



Pingback: Captivate Progress Bar | Captivate 4
Pingback: Captivate Progress Bar | CP Guru - Adobe Captivate E-learning Blog