Adobe Extending Flash Professional CS4 Manual do Utilizador Página 443

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 442
421
EXTENDING FLASH CS4 PROFESSIONAL
SymbolInstance object
Usage
symbolInstance.buttonTracking
Description
Property; a string that, for button symbols only, sets the same property as the pop-up menu for Track As Button or
Track As Menu Item in the Property inspector. For other types of symbols, this property is ignored. Acceptable values
are
"button" or "menu".
Example
The following example sets the first symbol in the first frame of the first layer in the timeline to a Track As Menu Item,
as long as that symbol is a button:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].buttonTracking = "menu";
symbolInstance.cacheAsBitmap
Availability
Flash 8.
Usage
symbolInstance.cacheAsBitmap
Description
Property; a Boolean value that specifies whether run-time bitmap caching is enabled.
Example
The following example enables run-time bitmap caching for the first element in the first frame on the first layer:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].cacheAsBitmap = true;
symbolInstance.colorAlphaAmount
Availability
Flash MX 2004.
Usage
symbolInstance.colorAlphaAmount
Description
Property; an integer that is part of the color transformation for the instance, specifying the Advanced Effect Alpha
settings. This property is equivalent to using the Color
> Advanced setting in the Property inspector and adjusting the
controls on the right of the dialog box. This value either reduces or increases the tint and alpha values by a constant
amount. This value is added to the current value. This property is most useful if used with
symbolInstance.colorAlphaPercent. Allowable values are from -255 to 255.
Vista de página 442
1 2 ... 438 439 440 441 442 443 444 445 446 447 448 ... 559 560

Comentários a estes Manuais

Sem comentários