Hello,

I'm not able to use Colortransform on a sprite in my AS only component.
I read a post from a while ago in the archives.  It stated that you could
run into problems when you use graphics.beginstyle(0xFFFFFF).
I changed my color to 0xEFEFEF, but am still not able to use the
colortransform.



private function tweenColor ( o : ColorObject ) : void
{
  var c : ColorTransform = fill.transform.colorTransform;
  c.color = 0xff0000;
  trace(c.color); // traces 16711680
  c.redOffset = 255;
  c.greenOffset = 50;
  c.blueOffset = 200;
  fill.transform.colorTransform = c;
  trace(fill.transform.colorTransform.color); // traces 16724680
}

Reply via email to