
252
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.
Examples
The following statement checks the palette used in the current frame. In this case, the palette is
cast member 45.
put the framePalette
-- 45
This statement makes palette cast member 45 the palette for the current frame:
the framePalette = 45
See also
puppetPalette
frameRate
Syntax
member(
whichCastMember
).frameRate
the frameRate of member
whichCastMember
Description
Cast member property; specifies the playback frame rate for the specified digital video, or Flash
movie cast member.
The possible values for the frame rate of a digital video member correspond to the radio buttons
for selecting digital video playback options.
•
When the
frameRate
member property
is between 1 and 255, the digital video movie plays
every frame at that frame rate. The
frameRate
member property cannot be greater than 255.
•
When the
frameRate
member
property
is set to -1 or 0, the digital video movie plays every
frame at its normal rate. This allows the video to sync to its soundtrack. When the frameRate is
set to any value other than -1 or 0, the digital video soundtrack will not play.
•
When the
frameRate
member property
is set to -2, the digital video movie plays every frame
as fast as possible.
For Flash movie cast members, the property indicates the frame rate of the movie created in Flash.
This property can be tested but not set.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...