# ColorTransform on a Gradient Fill

**URL:** <https://forum.kirupa.com/t/colortransform-on-a-gradient-fill/328391>\
**Category:** Uncategorized\
**Created:** [May 14, 2012, 4:30am UTC](https://forum.kirupa.com/t/colortransform-on-a-gradient-fill/328391 "2012-05-14T04:30:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColinDavies](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Post date:** [May 14, 2012, 4:30am UTC](https://forum.kirupa.com/t/colortransform-on-a-gradient-fill/328391/1 "2012-05-14T04:30:08Z")

</div>

Can anyone give me a starter on how to accomplish this?

Basically in the gradient fill structure I wish to transform// change one of the colors  
\_spotLight.graphics.beginGradientFill(GradientType.RADIAL, [nuColor,0xFFFFFF], [nuAlpha,.005], [95,255], mtx);  
and one of the alpha values.

is this possible with colorTransform, or should I just be redrawing the sprite ?
