User Guide
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