MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 679

Director scripting reference
Table of Contents

Advertisement

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,
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
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.
Member
, substitute a cast member name (within quotation marks) or a cast
castMemberList
679

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents