EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Page 838

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
838 ActionScript classes
this.lineTo(0, 0);
this.endFill();
This example uses "pad" for the spread method, so the gradient fill looks like the following:
If you used
"reflect" for the spread method, the gradient fill would look like the following:
If you used
"repeat" for the spread method, the gradient fill would look like the following:
interpolationMethod:String [optional] - Added in Flash Player 8. Either "RGB" or
"linearRGB". With "linearRGB", the colors are distributed linearly in the gradient. The
default value is "RGB".
For example, consider a simple linear gradient between two colors (with the
spreadMethod
parameter set to "reflect"). The different interpoliation methods affect the appearance as
follows:
"linearRGB" "RGB"

Table of Contents

Related product manuals