Adobe Extending Flash Professional CS5 Manuel d'utilisateur Page 333

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 565
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 332
311
Last updated 5/2/2011
Chapter 24: Item object
Availability
Flash MX 2004.
Description
The Item object is an abstract base class. Anything in the library derives from Item. See also library object.
Method summary
The following methods are available for the Item object:
Property summary
The following properties are available for the Item object:
Method Description
item.addData() Adds specified data to a library item.
item.getData() Retrieves the value of the specified data.
item.hasData() Determines whether the library item has the named data.
item.removeData() Removes persistent data from the library item.
Property Description
item.itemType Read-only; a string that specifies the type of element.
item.linkageBaseClass A string that specifies the ActionScript 3.0 class that will be associated with
the symbol.
item.linkageClassName A string that specifies the ActionScript 2.0 class that will be associated with
the symbol.
item.linkageExportForAS A Boolean value. If true, the item is exported for ActionScript.
item.linkageExportForRS A Boolean value. If true, the item is exported for run-time sharing.
item.linkageExportInFirstFrame A Boolean value. If true, the item is exported in the first frame.
item.linkageIdentifier A string that specifies the name Flash will use to identify the asset when
linking to the destination SWF file.
item.linkageImportForRS A Boolean value. If true, the item is imported for run-time sharing.
item.linkageURL A string that specifies the URL where the SWF file containing the shared
asset is located.
item.name A string that specifies the name of the library item, which includes the
folder structure.
Vue de la page 332
1 2 ... 328 329 330 331 332 333 334 335 336 337 338 ... 564 565

Commentaires sur ces manuels

Pas de commentaire