Adobe Extending Flash Professional CS4 Instrukcja Użytkownika Strona 454

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 560
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 453
432
EXTENDING FLASH CS4 PROFESSIONAL
SymbolItem object
Parameters
outputURI A string, expressed as a file:/// URI, that specifies the SWF file to which the method will export the symbol.
The outputURI must reference a local file. Flash does not create a folder if outputURI doesn’t exist.
Returns
Nothing.
Description
Method; exports the symbol item to a SWF file.
Example
The following example exports an item in the library to the my.swf file in the tests folder:
fl.getDocumentDOM().library.items[0].exportSWF("file:///c|/tests/my.swf");
symbolItem.scalingGrid
Availability
Flash 8.
Usage
symbolItem.scalingGrid
Description
Property; a Boolean value that specifies whether 9-slice scaling is enabled for the item.
Example
The following example enables 9-slice scaling for an item in the library:
fl.getDocumentDOM().library.items[0].scalingGrid = true;
See also
symbolItem.scalingGridRect
symbolItem.scalingGridRect
Availability
Flash 8.
Usage
symbolItem.scalingGridRect
Description
Property; a Rectangle object that specifies the locations of the four 9-slice guides. For information on the format of the
rectangle, see
document.addNewRectangle().
Przeglądanie stron 453
1 2 ... 449 450 451 452 453 454 455 456 457 458 459 ... 559 560

Komentarze do niniejszej Instrukcji

Brak uwag