User Guide

436 Chapter 12: Methods
Parameters
stringDocPath
Optional. A string that specifies the document to open when the application
specified by
stringAppPath opens.
stringAppPath Required. A string that specifies the path to the application to open.
Example
This statement opens the TextEdit application, which is in the folder Applications on the drive
HD (Macintosh), and the document named Storyboards:
-- Lingo syntax
_player.open("Storyboards", "HD:Applications:TextEdit")
// JavaScript syntax
_player.open("Storyboards", "HD:Applications:TextEdit");
See also
Player
open() (Window)
Usage
-- Lingo syntax
windowObjRef.open()
// JavaScript syntax
windowObjRef.open();
Description
Window method; opens a window and positions it in front of all other windows.
If no movie is assigned to the window on which
open() is called, the Open File dialog
box appears.
If the reference to the window object
windowObjRef is replaced with a movies filename, the
window uses the filename as the window name. However, a movie must then be assigned to the
window by using the window’s
fileName property.
If the reference to the window object
windowObjRef is replaced with a window name, the
window takes that name. However, a movie must then be assigned to the window by using the
windows
fileName property.
To open a window that uses a movie from a URL, use downloadNetThing() to download the
movies file to a local disk first, and then use the file on the disk. This procedure minimizes
problems with waiting for the movie to download.
When using a local movie, use
preloadMovie() to load at least the first frame of the movie prior
to calling open(). This procedure reduces the possibility of movie load delays.
Opening a movie in a window is currently not supported in playback using a browser.
Parameters
None.