Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 338

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 337
316
EXTENDING FLASH PROFESSIONAL
Item object
Last updated 5/2/2011
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 337
1 2 ... 333 334 335 336 337 338 339 340 341 342 343 ... 564 565

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

Žádné komentáře