this.lineTo(0, 0);
this.endFill();
This example uses
"pad"
If you used
"reflect"
If you used
"repeat"
interpolationMethod:String
"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
parameter set to "reflect"). The different interpoliation methods affect the appearance as
follows:
"linearRGB"
838
ActionScript classes
for the spread method, so the gradient fill looks like the following:
for the spread method, the gradient fill would look like the following:
for the spread method, the gradient fill would look like the following:
[optional] - Added in Flash Player 8. Either "RGB" or
"RGB"
spreadMethod
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?