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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 168
147
EXTENDING FLASH CS4 PROFESSIONAL
Document object
fl.getDocumentDOM().setInstanceAlpha(50);
document.setInstanceBrightness()
Availability
Flash MX 2004.
Usage
document.setInstanceBrightness(brightness)
Parameters
brightness An integer that specifies brightness as a value from -100 (black) to 100 (white).
Returns
Nothing.
Description
Method; sets the brightness for the instance.
Example
The following example sets the brightness for the instance to a value of 50:
fl.getDocumentDOM().setInstanceBrightness(50);
document.setInstanceTint()
Availability
Flash MX 2004.
Usage
document.setInstanceTint( color, strength )
Parameters
color The color of the tint, in one of the following formats:
A string in the format "#RRGGBB" or "#RRGGBBAA"
A hexadecimal number in the format 0xRRGGBB
An integer that represents the decimal equivalent of a hexadecimal number
strength An integer between 0 and 100 that specifies the opacity of the tint.
Returns
Nothing.
Description
Method; sets the tint for the instance.
Vista de página 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 559 560

Comentários a estes Manuais

Sem comentários