Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 325

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 324
303
EXTENDING FLASH CS4 PROFESSIONAL
Item object
item.linkageExportInFirstFrame
Availability
Flash MX 2004.
Usage
item.linkageExportInFirstFrame
Description
Property; a Boolean value. If true, the item is exported in the first frame; if false, the item is exported in the frame
of the first instance. If the item does not appear on the Stage, it isn’t exported.
This property can be set to true only when item.linkageExportForAS and/or item.linkageExportForRS are set
to true.
Example
The following example specifies that the specified library item is exported in the first frame:
fl.getDocumentDOM().library.items[0].linkageExportInFirstFrame = true;
item.linkageIdentifier
Availability
Flash MX 2004.
Usage
item.linkageIdentifier
Description
Property; a string that specifies the name Flash will use to identify the asset when linking to the destination SWF file.
Flash ignores this property if
item.linkageImportForRS, item.linkageExportForAS, and
item.linkageExportForRS are set to false. Conversely, this property must be set when any of those properties are
set to true.
Example
The following example specifies that the string my_mc will be used to identify the library item when it is linked to the
destination SWF file to which it is being exported:
fl.getDocumentDOM().library.items[0].linkageIdentifier = "my_mc";
See also
item.linkageURL
Zobrazit stránku 324
1 2 ... 320 321 322 323 324 325 326 327 328 329 330 ... 559 560

Komentáře k této Příručce

Žádné komentáře