Adobe Extending Flash Professional CS4 Manuale Utente Pagina 324

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 323
302
EXTENDING FLASH CS4 PROFESSIONAL
Item object
For this property to be defined, the item.linkageExportForAS and/or item.linkageExportForRS properties must
be set to true, and the item.linkageImportForRS property must be set to false.
Example
The following example specifies that the ActionScript 2.0 class name associated with the first item in the library is
myClass:
fl.getDocumentDOM().library.items[0].linkageClassName = "myClass";
item.linkageExportForAS
Availability
Flash MX 2004.
Usage
item.linkageExportForAS
Description
Property; a Boolean value. If this property is true, the item is exported for ActionScript. You can also set the
item.linkageExportForRS and item.linkageExportInFirstFrame properties to true.
If you set this property to true, the item.linkageImportForRS property must be set to false. Also, you must specify
an identifier (item.linkageIdentifier) and a URL (item.linkageURL).
Example
The following example sets this property for the specified library item:
fl.getDocumentDOM().library.items[0].linkageExportForAS = true;
item.linkageExportForRS
Availability
Flash MX 2004.
Usage
item.linkageExportForRS
Description
Property; a Boolean value. If this property is true, the item is exported for run-time sharing. You can also set the
item.linkageExportForAS and item.linkageExportInFirstFrame properties to true.
If you set this property to true, the item.linkageImportForRS property must be set to false. Also, you must specify
an identifier (item.linkageIdentifier) and a URL (item.linkageURL).
Example
The following example sets this property for the specified library item:
fl.getDocumentDOM().library.items[0].linkageExportForRS = true;
Vedere la pagina 323
1 2 ... 319 320 321 322 323 324 325 326 327 328 329 ... 559 560

Commenti su questo manuale

Nessun commento