
164
USING CAPTIVATE
Variables and Advanced Actions
Last updated 9/28/2011
• To delete the variable from the list, click Remove.
Note: You cannot delete system variables or variables that are being used by text captions. Removing a variable referenced
by an action resets the action to Continue.
Controlling Adobe Captivate projects with variables
Controlling a project with variables is useful if you want to create custom SWF playback controls or if you are putting
a project into an FLA file.
Using variables is an advanced feature that must be implemented only by users with a solid background in Flash.
To control the project through the skin file, add the prefix cpSkinLoader_mc to the variables.
The following commands are used by playback controls and preview:
rdcmndPrevious Set to 1 to go to the previous slide.
rdcmndNextSlide Set to 1 to go to the next slide.
rdcmndPause Set to 1 to pause the project.
rdcmndResume Set to 1 to resume showing a paused project.
rdcmndRewindAndStop Set to 1 to rewind and stop the project.
rdcmndRewindAndPlay Set to 1 to rewind and play the project.
rdcmndGotoFrame Go to a specific frame.
rdcmndExit Set to 1 to exit.
rdcmndInfo Display the information window.
The following variables provide information currently used by playback controls and preview:
rdinfoFrameCount Total number of SWF frames in the project (this is not the number of frames in the main Timeline,
but the sum of all slide frames).
rdinfoCurrentFrame Current frame (goes from 1 to rdinfoFrameCount when you play the project).
rdinfoCurrentSlide Slide currently playing (zero based).
rdinfoSlideCount Number of slides in the project (not including hidden slides).
rdIsMainMovie Can be used to identify whether the SWF file corresponds to the main Adobe Captivate project.
More Help topics
“Text captions” on page 72
“Widgets” on page 127
“Advanced actions” on page 165
Comentarios a estos manuales