mask
847
markerList
Usage
-- Lingo syntax
_movie.markerList
// JavaScript syntax
_movie.markerList;
Description
Movie property; contains a script property list of the markers in the Score. Read-only.
The list is of the format:
frameNumber
: "markerName"
Example
This statement displays the list of markers in the Message window:
-- Lingo syntax
put(_movie.markerList)
// JavaScript syntax
put(_movie.markerList);
See also
Movie
mask
Usage
-- Lingo syntax
memberObjRef
.mask
// JavaScript syntax
memberObjRef
.mask;
Description
Cast member property; specifies a black-and-white (1-bit) cast member to be used as a mask for
media rendered direct to Stage with media appearing in the areas where the mask’s pixels are
black. The
mask
property lets you benefit from the performance advantages of a direct-to-Stage
digital video while playing a QuickTime movie in a nonrectangular area. The
mask
property has
no effect on non–direct-to-Stage cast members.
Director always aligns the registration point of the mask cast member with the upper left of the
QuickTime movie sprite. Be sure to reset the registration point of a bitmap to the upper left
corner, as it defaults to the center. The registration point of the QuickTime member cannot be
reset from the upper left corner. The mask cast member can’t be moved and is not affected by the
center
and
crop
properties of its associated cast member.
For best results, set a QuickTime cast member’s mask property before any of its sprites appear on
the Stage in the
on
beginSprite
event handler. Setting or changing the
mask
property while the
cast member is on the Stage can have unpredictable results (for example, the mask may appear as
a freeze frame of the digital video at the moment the
mask
property took effect).
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
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...