457
Example
This statement displays the scale property of the third overlay in the sprite camera’s overlay list:
put sprite(5).camera.overlay[3].scale
-- 0.5000
See also
addOverlay
,
removeOverlay
,
bevelDepth
pageHeight
Syntax
member(
whichCastMember
).pageHeight
the pageHeight of member
whichCastMember
Description
Field cast member property; returns the height, in pixels, of the area of the field cast member that
is visible on the Stage.
This property can be tested but not set.
Example
This statement returns the height of the visible portion of the field cast member Today’s News:
put member("Today’s News").pageHeight"
palette
Syntax
member(
whichCastMember
).palette
the palette of member
whichCastMember
Description
Cast member property; for bitmap cast members only, determines which palette is associated with
the cast member specified by
whichCastMember
.
This property can be tested and set.
Example
This statement displays the palette assigned to the cast member Leaves in the Message window:
put member("Leaves").palette"
paletteMapping
Syntax
the paletteMapping
Description
Movie property; determines whether the movie remaps (
TRUE
) or does not remap (
FALSE,
default)
palettes for cast members whose palettes are different from the current movie palette. Its effect is
similar to that of the Remap Palettes When Needed check box in the Movie Properties dialog box.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...