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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 560
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 222
201
EXTENDING FLASH CS4 PROFESSIONAL
Fill object
var fill = fl.getDocumentDOM().getCustomFill();
if (fill.style == "bitmap")
fl.trace("Fill image is clipped: " + fill.bitmapIsClipped);
See also
fill.bitmapPath
fill.bitmapPath
Availability
Flash CS4 Professional.
Usage
fill.bitmapPath
Description
Property; a string that specifies the path and name of the bitmap fill in the Library. This property is available only if
the value of the
fill.style property is "bitmap".
Example
The following example sets the fill style of the specified item to a bitmap image in the Library:
var fill = fl.getDocumentDOM().getCustomFill();
fill.style = "bitmap";
fill.bitmapPath = "myBitmap.jpg";
fl.getDocumentDOM().setCustomFill(fill);
See also
fill.bitmapIsClipped
fill.color
Availability
Flash MX 2004.
Usage
fill.color
Description
Property; the color of the fill, 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
Vista de página 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 559 560

Comentários a estes Manuais

Sem comentários