Adobe Extending Flash Professional CS4 Manuale Utente Pagina 223

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 559 560

Commenti su questo manuale

Nessun commento