Deutsches LiveCode Wiki
Advertisement

Specifies whether a movie or sound stops at the end, or restarts from the beginning.Syntax:

set the looping of <player> to {true | false}

Examples:

set the looping of last player to true

Use the looping property to set a movie or sound to continuous play.

If a player's looping property is set to true, when the movie or sound is played, it repeats over and over until stopped by the user or a handler. If the looping is false, the sound or movie plays through only once, then stops.

If the player's playSelection property is true, only the selected portion of the movie or sound is played.

See also: player (object),endTime (property),repeatCount (property),selected (property),duration (property),startTime (property),playRate (property),

Advertisement