527
Examples
The following code shows that the
realPlayerNativeAudio()
function is set to
FALSE
, which means
that audio in the RealMedia cast member will be processed by Director:
put realPlayerNativeAudio()
-- 0
The following code sets the
realPlayerNativeAudio()
function to
TRUE
, which means that audio in
the RealMedia stream will be processed by RealPlayer and all Lingo control of the sound channel
will be ignored:
realPlayerNativeAudio(TRUE)
See also
soundChannel (RealMedia)
,
audio (RealMedia)
realPlayerPromptToInstall()
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 (
TRUE
) or not (
FALSE
).
By default, this function is set to
TRUE
, which means that if users do not have RealPlayer 8 and
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
FALSE
if you want to
create your own detection and alert system using the
realPlayerVersion()
function and
custom code. If this flag is set to
FALSE
and an alternate RealPlayer 8 detection and 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
prepareMovie
event handler in a movie script.
This function returns the previous value of the flag.
Examples
The following code shows that the
realPlayerPromptToInstall()
function is set to
TRUE
, which
means users who do not have RealPlayer will be prompted to install it:
put realPlayerPromptToInstall()
-- 1
The following code sets the
realPlayerPromptToInstall()
function to
FALSE
, which means
that users will not be prompted to install RealPlayer unless you have created a detection and
alert system:
realPlayerPromptToInstall(FALSE)
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...