Using Director > Text > Creating text cast members > Importing text with Lingo

 

Importing text with Lingo

Lingo can import text in several ways.

To import text from a URL, use the getNetText() function. See getNetText().

To import text from an external file from a URL or the local computer, select or create a text cast member and set its fileName property to the name of the external file that contains the text. See fileName (cast member property).

To import text from a file on disk, use the getPref() function. If no setPref command has already written such a file, the getPref() function returns VOID. See getPref().