MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 122

Director scripting reference
Table of Contents

Advertisement

You can associate a bitmap cast member with a color palette cast member by setting the
property of the bitmap cast member. The following example sets the
bitmap cast member
value of the
palette
-- Lingo syntax
member("bmpMember").palette = member("colorPaletteMember")
// JavaScript syntax
member("bmpMember").palette = member("colorPaletteMember");
After you associate a bitmap cast member with a color palette cast member, you cannot delete the
color palette cast member until you remove its association with the bitmap cast member.
Method summary for the Color Palette media type
Method
color()
Property summary for the Color Palette media type
Property
depth (Bitmap)
palette
paletteMapping
See also
Bitmap, Member,
Cursor
Represents a cursor cast member.
You can add a cursor cast member to a movie by using the Movie object's
-- Lingo syntax
_movie.newMember(#cursor)
// JavaScript syntax
_movie.newMember("cursor");
Property summary for the Cursor media type
Property
castMemberList
cursorSize
hotSpot
interval
See also
Member
122
Chapter 6: Media Types
to the color palette cast member
bmpMember
property reflects the number of the color palette cast member.
palette
property of the
palette
colorPaletteMember
newMember()
palette
. The
method.

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents