Fill.style - 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.posArray
fl.getDocumentDOM().setCustomFill( fill );

fill.style

Availability
Flash MX 2004.
Usage
fill.style
Description
Property; a string that specifies the fill style. Valid values are:
"radialGradient"
If this value is
"linearGradient"
fill.posArray
Example
The following example specifies the colors to use in a linear gradient for the current selection:
var fill = fl.getDocumentDOM().getCustomFill();
fill.style= "linearGradient";
fill.colorArray = [ 0x00ff00, 0xff0000, 0x0000ff ];
fill.posArray
fl.getDocumentDOM().setCustomFill( fill );
160
Chapter 3: Objects
= [0,
100, 200];
, and
. If an object has no fill, this property has a value of
"noFill"
or
"radialGradient"
are also available.
= [0,
100, 200];
,
"solid"
"linearGradient"
, the properties
fill.colorArray
,
.
noFill
"
"
and

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents