Example
The following examples show that the
set to
, which means that the audio portion of the RealMedia stream will be played.
TRUE
-- Lingo syntax
put(sprite(2).audio) -- 1
put(member("Real").audio) -- 1
// JavaScript syntax
put(sprite(2).audio); // 1
put(member("Real").audio); // 1
The following Lingo sets the
which means that the audio portion of the RealMedia stream will not be played when the movie
is played.
-- Lingo syntax
sprite(2).audio = FALSE
member("Real").audio = FALSE
// JavaScript syntax
sprite(2).audio = 0;
member("Real").audio = 0;
See also
soundChannel
audio (Windows Media)
Usage
-- Lingo syntax
windowsMediaObjRef.audio
// JavaScript syntax
windowsMediaObjRef.audio;
Description
Windows Media property. Specifies whether audio is enabled (
during playback. Read/write.
Example
This statement displays in the Message window whether audio is enabled for cast member 5:
-- Lingo syntax
trace(member(5).audio)
// JavaScript syntax
trace(member(5).audio);
See also
Windows Media
642
Chapter 14: Properties
property for sprite 2 and the cast member Real to
audio
(RealMedia),
video (RealMedia, Windows
properties for sprite 2 and the cast member Real is
audio
Media),
sound (Player)
, default) or not (
TRUE
,
FALSE
)
FALSE
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