Flash.geom.ColorTransform

when i use setRGB in AS3, i get this:

1061: Call to a possibly undefined method setRGB through a reference with static type flash.geom:ColorTransform.