242
Objects
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 Flash 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.objectDrawingMode
Availability
Flash 8.
Usage
fl.objectDrawingMode
Description
Property; a Boolean value that specifies whether the object drawing mode is enabled (
true
) or
the merge drawing mode is enabled (
false
).
Example
The following example toggles the state of the object drawing mode:
var toggleMode = fl.objectDrawingMode;
if (toggleMode) {
fl.objectDrawingMode = false;
} else {
fl.objectDrawingMode = true;
}
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...