safePlayer
965
Example
This statement displays in the Message window the RTF formatting information embedded in
the text cast member Resume:
--Lingo syntax
put(member("Resume").RTF)
// JavaScript syntax
trace(member("Resume").RTF);
See also
HTML
,
importFileInto()
safePlayer
Usage
-- Lingo syntax
_player.safePlayer
// JavaScript syntax
_player.safePlayer;
Description
Player property; controls whether or not safety features in Director are turned on. Read/write.
In a moview with Shockwave content, this property can be tested but not set. It is always
TRUE
in Shockwave Player.
In the authoring environment and in projectors, the default value is
FALSE
. This property may be
returned, but it may only be set to
TRUE
. Once it has been set to
TRUE
, it cannot be set back to
FALSE
without restarting Director or the projector.
When
safePlayer
is
TRUE
, the following safety features are in effect:
•
Only safe Xtra extensions may be used.
•
The
safePlayer
property cannot be reset.
•
Pasting content from the Clipboard by using the
pasteClipBoardInto()
method generates a
warning dialog box that allows the user to cancel the operation.
•
Saving a movie or cast by using script is disabled.
•
Printing by using the
printFrom()
method is disabled.
•
Opening an application by using the
open()
method is disabled.
•
The ability to stop an application or the user’s computer by using the
restart()
or
shutDown()
methods is disabled.
•
Opening a file that is outside the DSWMedia folder is disabled.
•
Discovering a local filename is disabled.
•
Using
getNetText()
or
postNetText()
, or otherwise accessing a URL that does not have the
same domain as the movie, generates a security dialog box.
See also
Player
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...