Following samples shows how different methods and properties works. Please note that some of the properties/methods may not work in the shockwave mode. It is advisable that you download the source movie and analyze them. Description of the Methods and Properties are extracts from Adobe Director Help.
Director Core Objects:
Cast Library: Represents a single cast library within a movie. Download the source here
findEmpty(): This Method displays the next empty cast member position or the position after a specified cast member. This method is available only on the current cast library.
fileName (Cast): returns or sets the filename of a cast library. Read-only for internal cast libraries, read/write for external cast libraries. For external cast libraries, fileName returns the cast’s full pathname and filename. For internal cast libraries, fileName returns a value depending on which internal cast library is specified.
member (Cast): provides indexed or named access to the members of a cast library.
name: returns or sets the name of an object
number (Cast): returns the number of a specified cast library
preLoadMode: determines the preload mode of a specified cast library. Valid values of preLoadMode are:
0 - Load the cast library when needed. This is the default value.
1 - Load the cast library before frame 1.
2 - Load the cast library after frame 1.
selection: returns the cast members that are selected in a given Cast window
This is not an official site from Adobe. If you need any clarifications, please mail me at info@adobedirectoronline.com