User Guide
842 Chapter 14: Properties
loop (Windows Media)
Usage
-- Lingo syntax
windowsMediaObjRef.loop
// JavaScript syntax
windowsMediaObjRef.loop;
Description
Windows Media property. Determines whether a movie loops (TRUE, default) or not (FALSE) after
completion. Read/write.
Example
This statement specifies that the cast member Classical should loop after completion:
-- Lingo syntax
member("Classical").loop = TRUE
// JavaScript syntax
member("Classical").loop = true;
See also
Windows Media
loopBounds
Usage
-- Lingo syntax
spriteObjRef.loopBounds
// JavaScript syntax
spriteObjRef.loopBounds;
Description
QuickTime sprite property; sets the internal loop points for a QuickTime cast member or sprite.
The loop points are specified as a Director list: [
startTime, endTime].
The
startTime and endTime parameters must meet these requirements:
• Both parameters must be integers that specify times in Director ticks.
• The values must range from 0 to the duration of the QuickTime cast member.
• The starting time must be less than the ending time.
If any of these requirements is not met, the QuickTime movie loops through its entire duration.
The
loopBounds property has no effect if the movie’s loop property is set to FALSE. If the loop
property is set to TRUE while the movie is playing, the movie continues to play. Director uses these
rules to decide how to loop the movie:
• If the ending time specified by loopBounds is reached, the movie loops back to the
starting time.
• If the end of the movie is reached, the movie loops back to the start of the movie.