Lingo Dictionary > L-N > linkAs() |  |

linkAs()

4044 | Lingo_linkAs_help

Syntax

    castMember.linkAs()

Description

Script cast member function; opens a save dialog box, allowing you to save the contents of the script to an external file. The script cast member is then linked to that file.

Linked scripts are imported into the movie when you save it as a projector, Shockwave movie, or Java movie. This differs from other linked media, which remains external to the movie unless you explicitly import it.

Example

This statement, typed in the Message window, opens a save dialog box to save the script Random Motion as an external file:

    member("Random Motion").linkAs()
    importFileInto, linked