Adobe Extending Flash Professional CS4 Manuale Utente Pagina 455

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 454
433
EXTENDING FLASH CS4 PROFESSIONAL
SymbolItem object
Example
The following example specifies the locations of the 9-slice guides:
fl.getDocumentDOM().library.items[0].scalingGridRect = {left:338, top:237, right:3859,
bottom:713};
See also
symbolItem.scalingGrid
symbolItem.sourceAutoUpdate
Availability
Flash MX 2004.
Usage
symbolItem.sourceAutoUpdate
Description
Property; a Boolean value that specifies whether the item is updated when the FLA file is published. The default value
is
false. Used for shared library symbols.
Example
The following example sets the sourceAutoUpdate property for a library item:
fl.getDocumentDOM().library.items[0].sourceAutoUpdate = true;
symbolItem.sourceFilePath
Availability
Flash MX 2004.
Usage
symbolItem.sourceFilePath
Description
Property; a string that specifies the path for the source FLA file as a file:/// URI. The path must be an absolute path, not
a relative path. This property is used for shared library symbols.
Example
The following example shows the value of the sourceFilePath property in the Output panel:
fl.trace(fl.getDocumentDOM().library.items[0].sourceFilePath);
Vedere la pagina 454
1 2 ... 450 451 452 453 454 455 456 457 458 459 460 ... 559 560

Commenti su questo manuale

Nessun commento