User Guide
nodeType 891
To avoid a performance penalty, set a callback property only when necessary.
This property can be tested and set.
nodeExitCallback
Usage
-- Lingo syntax
spriteObjRef.nodeExitCallback
// JavaScript syntax
spriteObjRef.nodeExitCallback;
Description
QuickTime VR sprite property; contains the name of the handler that runs when the QuickTime
VR movie is about to switch to a new active node on the Stage. The message has three arguments:
the
me parameter, the ID of the node that the movie is about to leave, and the ID of the node that
the movie is about to switch to.
The value that the handler returns determines whether the movie goes on to the next node.
If the handler returns
#continue, the QuickTime VR sprite continues with a normal node
transition. If the handler returns #cancel, the transition doesn’t occur and the movie stays in
the original node.
Set this property to 0 to clear the callback.
The QuickTime VR sprite receives the message first.
To avoid a performance penalty, set a callback property only when necessary.
This property can be tested and set.
nodeType
Usage
-- Lingo syntax
spriteObjRef.nodeType
// JavaScript syntax
spriteObjRef.nodeType;
Description
QuickTime VR sprite property; gives the type of node that is currently on the Stage for the
specified sprite. Possible values are
#object, #panorama, or #unknown. (#unknown is the value for
a sprite that isn’t a QuickTime VR sprite.)
This property can be tested but not set.