Deutsches LiveCode Wiki
Registrieren
Advertisement

Specifies messages to be sent during playback of a movie.Syntax:

set the callbacks of <player> to <messageList>

Examples:

set the callbacks of player "Mist" to myCallbacks
set the callbacks of player "Do It!" to "2500,soundNotes"

Use the callbacks property to send callback messages to a player(keyword) at certain points in the movie. This synchronizes the messages with the playback.

When an interval number is reached during playback, LiveCode sends the corresponding message to the player.

The number of intervals per second is specified by the player's timeScale property. The total number of intervals is given in the player's duration property.

See also: currentTimeChanged (message),player (object),timeScale (property),duration (property),currentTime (property),playRate (property),

Advertisement