Adobe Extending Flash Professional CS5 Bedienungsanleitung Seite 264

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 565
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 263
242
EXTENDING FLASH PROFESSIONAL
flash object (fl)
Last updated 5/2/2011
// Select an element on the Stage and then run this script.
var mat =fl.getDocumentDOM().selection[0].matrix;
for(var prop in mat){
fl.trace("mat."+prop+" = " + mat[prop]);
}
var invMat = fl.Math.invertMatrix( mat );
for(var prop in invMat) {
fl.trace("invMat."+prop+" = " + invMat[prop]);
}
fl.mruRecentFileList
Availability
Flash MX 2004.
Usage
fl.mruRecentFileList
Description
Read-only property; an array of the complete filenames in the Most Recently Used (MRU) list that the Flash authoring
tool manages.
Example
The following example displays the number of recently opened files and the name of each file, in the Output panel:
fl.trace("Number of recently opened files: " + fl.mruRecentFileList.length);
for (i = 0; i < fl.mruRecentFileList.length; i++) fl.trace("file: " + fl.mruRecentFileList[i]);
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]);
Seitenansicht 263
1 2 ... 259 260 261 262 263 264 265 266 267 268 269 ... 564 565

Kommentare zu diesen Handbüchern

Keine Kommentare