MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 495

Director scripting reference
Table of Contents

Advertisement

Example
The following code shows that the
means that audio in the RealMedia cast member will be processed by Director:
-- Lingo syntax
put(realPlayerNativeAudio())
-- 0
// JavaScript syntax
trace(realPlayerNativeAudio());
// 0
The following code sets the
audio in the RealMedia stream will be processed by RealPlayer and all Lingo control of the sound
channel will be ignored:
-- Lingo syntax
realPlayerNativeAudio(TRUE)
// JavaScript syntax
realPlayerNativeAudio(1);
See also
soundChannel (RealMedia)
realPlayerPromptToInstall()
Usage
-- Lingo syntax
realPlayerPromptToInstall()
// JavaScript syntax
realPlayerPromptToInstall();
Description
RealMedia function; allows you to get or set a global flag that determines whether automatic
detection and alert for RealPlayer 8 is enabled (
By default, this function is set to
attempt to load a movie containing RealMedia, they are automatically asked if they want to go to
the RealNetworks website and install RealPlayer. You can set this flag to
create your own detection and alert system using the
function and custom code. If this flag is set to
alert system is not in place, users without RealPlayer will be able to load movies containing
RealMedia cast members, but the RealMedia sprites will not appear.
This function detects the build number of the RealPlayer installed on the user's system to
determine whether RealPlayer 8 is installed. On Windows systems, build numbers 6.0.8.132 or
later indicate that RealPlayer 8 is installed. On Macintosh systems, RealPlayer Core component
build numbers 6.0.7.1001 or later indicate that RealPlayer 8 is installed.
This flag should be executed in a
This function returns the previous value of the flag.
Parameters
None.
realPlayerNativeAudio()
realPlayerNativeAudio()
TRUE
, which means that if users do not have RealPlayer 8 and
TRUE
FALSE
event handler in a movie script.
prepareMovie
function is set to
function to
TRUE
) or not (
).
FALSE
FALSE
realPlayerVersion()
and an alternate RealPlayer 8 detection and
realPlayerPromptToInstall()
, which
FALSE
, which means that
if you want to
on page 496
495

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents