castMemberList
679
castLibNum
Usage
-- Lingo syntax
memberObjRef
.castLibNum
// JavaScript syntax
memberObjRef
.castLibNum;
Description
Member property; determines the number of the cast library that a cast member belongs to.
Read-only.
Example
This statement determines the number of the cast to which cast member Jazz is assigned.
-- Lingo syntax
put(member("Jazz").castLibNum)
// JavaScript syntax
put(member("Jazz").castLibNum);
The following statement changes the cast member assigned to sprite 5 by switching its cast to
Wednesday Schedule.
-- Lingo syntax
sprite(5).castLibNum = castLib("Wednesday Schedule").number
// JavaScript syntax
sprite(5).castLibNum = castLib("Wednesday Schedule").number;
See also
Cast Library
,
Member
castMemberList
Usage
-- Lingo syntax
memberObjRef
.castMemberList
// JavaScript syntax
memberObjRef
.castMemberList;
Description
Cursor cast member property; specifies a list of cast members that make up the frames of a cursor.
For
whichCursorCastMember
, substitute a cast member name (within quotation marks) or a cast
member number. You can also specify cast members from different casts.
The first cast member in the list is the first frame of the cursor, the second cast member is the
second frame, and so on.
If you specify cast members that are invalid for use in a cursor, they will be ignored, and the
remaining cast members will be used.
This property can be tested and set.
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...