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

    • Pete Flynn: Just tried to view the “Recording Link” . . . 413 Header Length too Large What???
    • Ariyo Usman Oluwafemi: I am representing a publishing company which I have already created the ebooks on an indesign...
    • Dr. Pooja Jaisingh: Thanks Rossco :)
    • Rossco: Ealier post had heaps of typo’s so reposting… Hi, yes very helpful tutorials thanks, easy to...
    • Rossco: Hi, yes very helpful tutorials thatnks, easy to follow and steps youn thourrhgn all the way :-)
  • Captivate & eLearning Videos

    Subscribe to Adobe eLearning on YouTube.

    Check out the latest eLearning Videos on AdobeTV

Recently Approved