Lingo Dictionary > D-F > framePalette |
![]() ![]() ![]() |
framePalette
Syntax
the framePalette
Description
Frame property; identifies the cast member number of the palette used in the current frame, which is either the current palette or the palette set in the current frame.
Because the browser controls the palette for the entire Web page, the Director player for Java always uses the browser's palette. For the most reliable color when authoring a movie for playback as a Director player for Java, use the default palette for the authoring system. When you want exact control over colors, use Shockwave instead of Java.
This property can be tested. It can also be set during a Score generation session.
Example
This statement checks the palette used in the current frame. In this case, the palette is cast member 45.
put the framePalette -- 45
Example
This statement makes palette cast member 45 the palette for the current frame:
the framePalette = 45
See also
![]() ![]() ![]() |