flash object
173
fl.mruRecentFileListType
Availability
Flash MX 2004.
Usage
fl.mruRecentFileListType
Description
Read-only property; an array of the file types in the MRU list that the authoring tool manages.
This array corresponds to the array in the
fl.mruRecentFileList
property.
Example
The following example displays the number of recently opened files, and the type of each file, in
the Output panel.
fl.trace("Number of recently opened files: " +
fl.mruRecentFileListType.length);
for (i = 0; i < fl.mruRecentFileListType.length; i++) fl.trace("type: " +
fl.mruRecentFileListType[i]);
fl.openDocument()
Availability
Flash MX 2004.
Usage
fl.openDocument(
fileURI
)
Parameters
fileURI
A string that specifies the name of the file to be opened, expressed as a URI (file:///
URI).
Returns
If successful, returns the
Document object
for the newly opened document. If the file is not
found, or is not a valid FLA file, an error is reported and the script is cancelled.
Description
Method; opens a Flash document (FLA file) for editing in a new Flash Document window and
gives it the focus. For a user, the effect is the same as selecting File > Open and then selecting a
file. If the specified file is already open, the window that contains the document comes to the
front. The window that contains the specified file becomes the currently selected document.
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...