
255
frameSound1
Syntax
the frameSound1
Description
Frame property; determines the number of the cast member assigned to the first sound channel in
the current frame.
This property can be tested and set. This property can also be set during a Score recording session.
Example
As part of a Score recording session, this statement assigns the sound cast member Jazz to the first
sound channel:
the frameSound1 = member("Jazz").number
frameSound2
Syntax
the frameSound2
Description
Frame property; determines the number of the cast member assigned to the second sound channel
for the current frame.
This property can be tested and set. This property can also be set during a Score recording session.
Example
As part of a Score recording session, this statement assigns the sound cast member Jazz to the
second sound channel:
the frameSound2 = member("Jazz").number
framesToHMS()
Syntax
framesToHMS(
frames
,
tempo
,
dropFrame
,
fractionalSeconds
)
Description
Function; converts the specified number of frames to their equivalent length in hours, minutes,
and seconds. This function is useful for predicting the actual playtime of a movie or controlling a
video playback device.
•
frames
—Integer expression that specifies the number of frames.
•
tempo
—Integer expression that specifies the tempo in frames per second.
•
dropFrame
—Compensates for the color NTSC frame rate, which is not exactly 30 frames
per second and is meaningful only if FPS is set to 30 frames per second. Normally, this
argument is set to
FALSE
.
•
fractionalSeconds
—Determines whether the residual frames are converted to the nearest
hundredth of a second (
TRUE
) or returned as an integer number of frames (
FALSE
).
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...