Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 650 Bytes

File metadata and controls

27 lines (17 loc) · 650 Bytes

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