Example
The following example opens a file named Document.fla that is stored in the root directory of
the C drive, stores a Document object representing that document in the
the document to be the currently selected document. That is, until focus is changed,
fl.getDocumentDOM()
var doc = fl.openDocument("file:///c|/Document.fla");
fl.openProject()
Availability
Flash MX 2004.
Usage
fl.openProject( fileURI )
Parameters
A string that specifies the path of the Flash project file to open, expressed as a URI
fileURI
(file:///URI).
Returns
Nothing.
Description
Method; opens a Flash Project (FLP) file in the authoring tool for editing.
Example
The following example opens a project file named myProjectFile.flp that is stored in the root
directory of the C drive.
fl.openProject("file:///c|/myProjectFile.flp");
fl.openScript()
Availability
Flash MX 2004.
Usage
fl.openScript( fileURI )
Parameters
A string that specifies the path of the JSFL, AS, ASC, XML, TXT or other file that
fileURI
should be loaded into the Flash text editor, expressed as a URI (file:///URI).
Returns
Nothing.
174
Chapter 3: Objects
refers to this document.
variable, and sets
doc
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?