Adobe Extending Flash Professional CS5 Manual do Utilizador Página 441

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 565
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 440
419
EXTENDING FLASH PROFESSIONAL
SymbolInstance object
Last updated 5/2/2011
symbolInstance.buttonTracking
Availability
Flash MX 2004.
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.
Note: Starting w/ Flash Professional CS5.5, users should switch to using the symbolInstance.bitmapRenderMode
on page 417 property instead of this property.
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
Vista de página 440
1 2 ... 436 437 438 439 440 441 442 443 444 445 446 ... 564 565

Comentários a estes Manuais

Sem comentários