User Guide

122 Chapter 6: Media Types
You can associate a bitmap cast member with a color palette cast member by setting the palette
property of the bitmap cast member. The following example sets the
palette property of the
bitmap cast member
bmpMember to the color palette cast member colorPaletteMember. The
value of the
palette property reflects the number of the color palette cast member.
-- 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
Property summary for the Color Palette media type
See also
Bitmap, Member, palette
Cursor
Represents a cursor cast member.
You can add a cursor cast member to a movie by using the Movie objects
newMember() method.
-- Lingo syntax
_movie.newMember(#cursor)
// JavaScript syntax
_movie.newMember("cursor");
Property summary for the Cursor media type
See also
Member
Method
color()
Property
depth (Bitmap)
palette
paletteMapping
Property
castMemberList
cursorSize
hotSpot
interval