callbacks

Specifies messages to be sent during playback of a movie.

# Metadata

Platforms: desktop OS: mac, windows, linux Introduced: 1.0 Security:

# 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"

# Description

Use the callbacks property to send callback to a player 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 duration property.

# Tags

# See

- **keyword:** player - **property:** timeScale, duration, currentTime, playRate - **message:** currentTimeChanged - **command:** send, play - **object:** player - **glossary:** property, synchronize, message, callback, player