244
Objects
Parameters
fileURI
A string, expressed as a file:/// URI, that specifies the path of the Flash Project
(FLP) file to open.
Returns
Nothing in Flash MX 2004; a
Project object
in Flash 8.
Description
Method; opens a Flash Project (FLP) file in the Flash authoring tool for editing.
Example
The following example opens a project file named myProjectFile.flp that is stored in the root
directory on the C drive.
fl.openProject("file:///c|/myProjectFile.flp");
See also
fl.closeProject()
,
fl.createProject()
,
fl.getProject()
,
Project object
fl.openScript()
Availability
Flash MX 2004.
Usage
fl.openScript(
fileURI
)
Parameters
fileURI
A string, expressed as a file:/// URI, that specifies the path of the JSFL, AS, ASC,
XML, TXT or other file that should be loaded into the Flash text editor.
Returns
Nothing.
Description
Method; opens a script (JSFL, AS, ASC) or other file (XML, TXT) in the Flash text editor.
Example
The following example opens a file named my_test.jsfl that is stored in the /temp directory on
the C drive.
fl.openScript("file:///c|/temp/my_test.jsfl");
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...