User Guide

680 Chapter 14: Properties
Example
This command sets a series of four cast members for the animated color cursor cast member
named myCursor.
-- Lingo syntax
member("myCursor").castmemberList = \
[member(1), member(2), member(1, 2), member(2, 2)]
// JavaScript syntax
member("myCursor").castmemberList =
list(member(1), member(2), member(1, 2), member(2, 2));
center
Usage
member(whichCastMember).center
the center of member whichCastMember
Description
Cast member property; interacts with the crop cast member property.
When the crop property is FALSE, the center property has no effect.
When crop is TRUE and center is TRUE, cropping occurs around the center of the digital
video cast member.
When crop is TRUE and center is FALSE, the digital videos right and bottom sides
are cropped.
This property can be tested and set.
Example
This statement causes the digital video cast member Interview to be displayed in the top left
corner of the sprite.
Dot syntax:
member("Interview").center = FALSE
Verbose syntax:
set the center of member "Interview" to FALSE
See also
crop, centerRegPoint, regPoint, scale (Member)