September 1, 2009

Captivate variables – how to access and control them from external movies..

Adobe Captivate 4 has a feature using which you can access and control captivate movies from external movies. You can find more details here.

Here is how you access Adobe Captivate movie variables from external swf:

Action Script 3:
root.<variable_name>
Ex: root.rdinfoCurrentSlide, root.cpInfoAuthor

Action Script 2:
_root.<variable_name>
Ex: _root.rdinfoCurrentSlide, _root.cpInfoAuthor

Note : Few of the variables in Captivate AS2 movie are defined inside movie class. Hence cannot be accessed directly with _root. In these cases _root.movie.<variable_name> is the correct way to access variables defined inside rdmovie class. As a general rule, for AS2 to access a variable we should first try access it using _root.<variable_name>, if that comes undefined, then access using _root.movie.<variable_name>.

Variables that are defined inside the movie class are: cpInfoCurrentDateString, cpInfoCurrentDate, cpInfoCurrentMonth, cpInfoCurrentYear, cpInfoCurrentDay, cpInfoCurrentTime, cpInfoCurrentHour, cpInfoCurrentMinutes, cpInfoEpochMS, cpCmndVolume, cpInfoElapsedTimeMS, rdcmndGotoSlide, cpCmndGotoFrameAndResume, rdcmndNext, rdcmndPlaybarMoved, rdcmndMute, rdcmndCC, rdisMainMovie, cpInfoCurrentSlide, cpInfoCurrentSlideType

Blog post by – Deepak R, Adobe Captivate

,

Posted by Rajeev Kumar1:12 PM
  • CAdeveloper

    How can I access the user defined variables in .html file created by captivate.

  • Tannia

    I need to change the functionality of the buttons in one of the Captivate 4 skins using the provided Flash file. I would like to make the Next button jump 2 slides ahead on click and the Back button 2 slides back. Any help would be greatly appreciated. Thanks!

  • Loading
  • Categories

  • Archives

  • Authors

  • Recent Comments

    • knight_r88: Hi, I’ve tried several ways to resolve the issue for my colleague to be honest. I’ve tried...
    • nsukumar: Hi Knight,Have you done any editing on the recorded project?
    • knight_r88: I have a colleague who is trying to record a webinar using Captivate 6 and is also experiencing...
    • Abhinav Upreti: Hi Lynn, The major differences between DPS versus exporting to epub is, with DPS you will get broad...
    • lynn: Hi Pooja, The biggest question I have is what is the difference between publishing the ebook to DPS versus just...
  • Captivate & eLearning Videos

    Subscribe to Adobe eLearning on YouTube.

    Check out the latest eLearning Videos on AdobeTV

Recently Approved