looping

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the looping of <player> to {true | false}
Associationsplayer
Summary

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

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the looping of last player to true
Values
NameTypeDescription
Value

The looping of a player is true or false. By default, the looping property of newly created players is set to false.

RelatedKeyword: player
Property: endTime, repeatCount, selected, duration, startTime, playRate
Command: start, play
Object: player
Glossary: property, handler
Description

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.

Tagsmultimedia