Fill Object; Fill.color - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Fill object

Availability
Flash MX 2004.
Description
This object contains all the properties of the Fill color setting of the toolbar or of a selected shape.
To retrieve a Fill object, use
Property summary for the Fill object
The following properties are available for the Fill object:
Property

fill.color

fill.colorArray
fill.matrix
fill.posArray
fill.style
fill.color
Availability
Flash MX 2004.
Usage
fill.color
Description
Property; a color string in hexadecimal format, such as #rrggbb, or an integer containing the color
value.
Example
The following example sets the fill color of the current selection:
var fill = fl.getDocumentDOM().getCustomFill();
fill.color = '#FFFFFF';
fl.getDocumentDOM().setCustomFill( fill );
158
Chapter 3: Objects
document.getCustomFill()
Description
A color string in hexadecimal format, such as #rrggbb, or an integer containing the
color value.
An array of colors in gradient.
A
Matrix object
that defines the placement, orientation, and scales for gradient
fills.
An array of integers, each in the range 0 ... 255, indicating the position of the
corresponding color.
A string that specifies the fill style.
.
CHAPTER 3
Objects

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents