开发者

ColorMatrixFilter in Flash - add color, leave black

I have a MovieClip - for example a character's face. It has a black border and a brown fill (skin). I need to change the skin's color. I see 2 wa开发者_如何学Cys to go at it:

  1. Use ColorTransform. But I need to have the skin in a separate MovieClip, so that I can change the skin's color alone, not the borders. It's kind of complicated. If i have some other elements, like semi transpatent shadows (they will stay brown).

  2. Use something else (maybe ColorMatrixFilter)?


Check this link. It answers you question pretty thoroughly:

Changing fill color of MovieClip Actionscript 3

To sum it up; it looks like your first method would be the best route to take.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜