Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 442

  • 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 441
420
EXTENDING FLASH CS4 PROFESSIONAL
SymbolInstance object
symbolInstance.actionScript
Availability
Flash MX 2004.
Usage
symbolInstance.actionScript
Description
Property; a string that specifies the actions assigned to the symbol. This applies only to movie clip and button instances.
For a graphic symbol instance, the value returns
undefined.
Example
The following example assigns an onClipEvent action to the first item in the first frame of the first layer in the
timeline:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].actionScript
= "onClipEvent(enterFrame) {trace('movie clip enterFrame');}";
symbolInstance.blendMode
Availability
Flash 8.
Usage
symbolInstance.blendMode
Description
Property; a string that specifies the blending mode to be applied to a movie clip symbol. Acceptable values are
"normal", "layer", "multiply", "screen", "overlay", "hardlight", "lighten", "darken", "difference",
"add", "subtract", "invert", "alpha", and "erase".
Example
The following example sets the blending mode for the first movie clip symbol in the first frame on the first level to add:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].blendMode = "add";
See also
document.setBlendMode()
symbolInstance.buttonTracking
Availability
Flash MX 2004.
Vue de la page 441
1 2 ... 437 438 439 440 441 442 443 444 445 446 447 ... 559 560

Commentaires sur ces manuels

Pas de commentaire