Lingo Dictionary > O-R > pasteClipBoardInto |  |

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`