Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 326

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 560
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 325
304
EXTENDING FLASH CS4 PROFESSIONAL
Item object
item.linkageImportForRS
Availability
Flash MX 2004.
Usage
item.linkageImportForRS
Description
Property; a Boolean value: if true, the item is imported for run-time sharing. If this property is set to true, both
item.linkageExportForAS and item.linkageExportForRS 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 to true for the specified library item:
fl.getDocumentDOM().library.items[0].linkageImportForRS = true;
item.linkageURL
Availability
Flash MX 2004.
Usage
item.linkageURL
Description
Property; a string that specifies the URL where the SWF file containing the shared asset is located. 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. You can specify a web URL
or a filename in platform-dependent format (that is, forward slashes [/] or backward slashes [\], depending on the
platform).
Example
The following example specifies a linkage URL for the specified library item:
fl.getDocumentDOM().library.items[0].linkageURL = "theShareSWF.swf";
See also
item.linkageIdentifier
item.name
Availability
Flash MX 2004.
Vue de la page 325
1 2 ... 321 322 323 324 325 326 327 328 329 330 331 ... 559 560

Commentaires sur ces manuels

Pas de commentaire