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.
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...