Lingo Dictionary > G-K > gotoNetMovie |  |

gotoNetMovie

Syntax

    gotoNetMovie URL
    gotoNetMovie (URL)

Description

Command; retrieves and plays a new Shockwave movie from an HTTP or FTP server. The current movie continues to run until the new movie is available.

Only URLs are supported as valid parameters. The URL can specify either a file name or a marker within a movie. Relative URLs work if the movie is on an Internet server, but you must include the extension with the file name.

When performing testing on a local disk or network, media must be located in a directory named dswmedia or in a subdirectory within it.

If a `gotoNetMovie` operation is in progress and you issue a second `gotoNetMovie` command before the first is finished, the second command cancels the first.

Example

In this statement, the URL indicates a Director file name:

    gotoNetMovie "http://www.yourserver.com/movies/movie1.dcr"

Example

In this statement, the URL indicates a marker within a file name:

    gotoNetMovie "http://www.yourserver.com/movies/buttons.dcr#Contents"

Example

In this statement, `gotoNetMovie` is used as a function. The function returns the network ID for the operation.

    myNetID = gotoNetMovie ("http://www.yourserver.com/movies/buttons.dcr#Contents")