363
If the argument for
marker
is a string,
marker
returns the frame number of the first frame whose
marker label matches the string.
Examples
The following statement sends the playhead to the beginning of the current frame if the current
frame has a marker; otherwise, it sends the playhead to the previous marker.
go to marker(0)
This statement sets the variable
nextMarker
equal to the next marker in the Score:
nextMarker = marker(1)
See also
go
,
frame() (function)
,
frameLabel
,
label()
,
labelList
the markerList
Syntax
the markerList
Description
Global property; contains a Lingo property list of the markers in the Score. The list is of the
format:
frameNumber: "markerName"
This property can be tested but not set.
Example
This statement displays the list of markers in the Message window:
put the markerlist
-- [1: "Opening Credits", 15: "Main Menu", 26: "Closing Credits"]
marker()
mask
Syntax
member(
whichQuickTimeMember
).mask
the mask of member
whichQuickTimeMember
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.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...