Using Director > Playing Movies over the Internet > Retrieving network operation results with Lingo > Using URLs with Lingo

 

Using URLs with Lingo

In addition to the Lingo explicitly intended for use with network operations, some Lingo elements can use URLs as references to external files.

These Lingo elements can use URLs as file references in all circumstances:

moviePath

pathName

unloadMovie

The following Lingo supports URLs as references to external files. If you use this Lingo in projectors or during authoring, you can avoid pauses while the file is being downloaded by first using preloadNetThing to download the file. After the file has been downloaded, you can use these Lingo elements with the file's URL without a delay.

When the following Lingo is used in a browser, however, you must first download the file by using the preloadNetThing command. If you do not, the Lingo fails.

Using a go to movie statement

Using an importFileInto command

Using a preLoadMovie command

Using a play movie command

Using an open window command (disabled in browsers)

These Lingo elements can use URLs to SWA sound files as file references:

streamName

URL cast member property

These Lingo elements can use URLs as file references only during authoring or in projectors:

getNthFileNameInFolder()

searchCurrentFolder

These elements don't work in Shockwave movies because Shockwave doesn't support movies in windows (MIAWs):

open window

forget window

close window