User Guide
464
Examples
The following examples show that the password has been set for the RealMedia stream in the cast
member Real or sprite 2.
put sprite(2).password
-- "********"
put member("Real").password
-- "********"
The following examples show that the password has never been set for the RealMedia stream in
the cast member Real or sprite 2.
put sprite(2).password
-- ""
put member("Real").password
-- ""
The following examples set the password for the RealMedia stream in sprite 2 and the cast
member Real to
"abracadabra".
sprite(2).password = "abracadabra"
member("Real").password = "abracadabra"
See also
userName (RealMedia)
pasteClipBoardInto
Syntax
member(whichCastMember). pasteClipBoardInto()
pasteClipBoardInto member whichCastMember
Description
Command; pastes the contents of the Clipboard into the cast member specified by
whichCastMember and erases the exiting cast member. For example, pasting a bitmap into a field
cast member makes the bitmap the cast member and erases the field cast member.
You can paste any item that is in a format that Director can use as a cast member. When you copy
a string from another application, the string’s formatting is not retained.
The
pasteClipBoardInto command provides a convenient way to copy objects from other
movies and from other applications into the Cast window. Because copied cast members must be
stored in RAM, avoid using this command during playback in low memory situations.
Note: When you use this command in Shockwave, or in the authoring environment and projectors with the
safePlayer property set to TRUE, a warning dialog will allow the user to cancel the paste operation.
Example
This statement pastes the Clipboard contents into the bitmap cast member Shrine:
member("shrine").pasteClipBoardInto()
See also
safePlayer