Fill object

Availability

Flash MX 2004.

Description

This object contains all the properties of the Fill color setting of the Tools panel or of a selected shape. To retrieve a Fill object, use document.getCustomFill().

Property summary for the Fill object

The following properties are available for the Fill object:

Property

Description

fill.color

A string, hexadecimal value, or integer that represents the fill color.

fill.colorArray

An array of colors in gradient.

fill.focalPoint

An integer that specifies the gradient focal point horizontal offset from the transformation point.

fill.linearRGB

A Boolean value that specifies whether to render the fill as a linear or radial RGB gradient.

fill.matrix

A Matrix object that defines the placement, orientation, and scales for gradient fills.

fill.overflow

A string that specifies the behavior of a gradient's overflow.

fill.posArray

An array of integers, each in the range 0..255, indicating the position of the corresponding color.

fill.style

A string that specifies the fill style.


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004091.html