Lingo Dictionary > L-N > nodeExitCallback |  |

nodeExitCallback

Syntax

    sprite(whichQTVRSprite).nodeExitCallback
    the nodeExitCallback of sprite whichQTVRSprite

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.