The flags argument can be one of the following values:
The gradient argument is an swfgradient() object. The flags argument can be one of the following values: SWFFILL_RADIAL_GRADIENT or SWFFILL_LINEAR_GRADIENT. Default is SWFFILL_LINEAR_GRADIENT. I'm sure about this one. Really.