03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If you used "reflect" for the spread method, the gradient fill would look like the following:<br />

If you used "repeat" for the spread method, the gradient fill would look like the following:<br />

interpolationMethod:String [optional] - Added in Flash Player 8. Either "RGB" or<br />

"linearRGB". With "linearRGB", the colors are distributed linearly in the gradient. The<br />

default value is "RGB".<br />

For example, consider a simple linear gradient between two colors (with the spreadMethod<br />

parameter set to "reflect"). The different interpoliation methods affect the appearance as<br />

follows:<br />

"linearRGB" "RGB"<br />

850 <strong>ActionScript</strong> classes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!