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
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...