Adobe CAPTIVATE 5 Help Manual page 134

Table of Contents

Advertisement

Last updated 4/22/2010
Returns the properties of the slide containing the widget. The returned object has the following
getSlideProps()
members.
Returns one of the following: Normal Slide, Question Slide, or Random Question Slide.
slideType
Handle to the slide functions. slideHandle supports the following functions:
slideHandle
, and
.
startFrame
endFrame
AddNoSkipFrame(frameNum:Number)
respect to the slide indexed from 1.
The Adobe Captivate SWF uses a functionality called "pacemaker" at runtime. When there are insufficient system
resources, the pacemaker skips frames in a way that the user does not notice any glitch in the movie. However, it is
possible that a frame containing actions might get skipped in the process.
pacemaker does not skip the specified frame.
returns the frame number at which the slide begins. The indexing begins with zero.
startFrame
returns the frame number at which the slide ends. Indexing begins with 0.
endFrame
Returns the properties of the Adobe Captivate movie that is closest to the hierarchy of the widget. The
getMovieProps
returned object has the following members:
Width of the movie's content.
contentWidth
Height of the movie's content.
contentHeight
Some Adobe Captivate System variables are accessed from here. For example,
variablesHandle
movieHandle.GetMovieProps().varaiblesHandle.myVar = 10;
movieHandle <deprecated>
Captivate system variables are available here.
Returns if the widget is currently visible on stage.
IsWidgetVisible
Returns whether the widget is enabled. A widget is considered as enabled when it is present on the
isWidgetEnabled
slide or on the Timeline. All functions discussed work only if
Guidelines for using movieHandle in widgets
The value of movieHandle must be updated by the widget whenever
When it is called multiple times, the value might not be the same every time. The variables must be updated for every call.
and
GetSlideProps
GetMovieProps
is to cache the return value to a variable and use the variable. Refer to the following example.
DRAFT
: No frame is skipped at runtime.
Handle to the main movie
object(rdMovie)
consume a lot of memory resources. So, use these calls sparingly. Best practice
refers to the frame number with
frameNum
AddNoSkipFrame
in captivate runtime. Only some Adobe
returns
isWidgetEnabled()
cpSetValue('movieHandle', val)
127
USING ADOBE CAPTIVATE 5
Widgets
,
AddNoSkipFrame
is used to ensure that
.
true
is called.

Advertisement

Table of Contents
loading

Table of Contents