Adobe Extending Flash Professional CS4 Manuel d'utilisateur Page 223

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 560
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 222
1 2 ... 218 219 220 221 222 223 224 225 226 227 228 ... 559 560

Commentaires sur ces manuels

Pas de commentaire