This content has been marked as final. Show 7 replies
there are quite a few ways to do that with flash. one way would be to use the bitmapdata class and its paletteMap method.
actually, if you just want to calculate the opposite color just subract each rgb component color from 255 in flash.
// i have 3 movieclip instance on stage, m0, m1, m2
var c0:Color = new Color(_root.m0);
var c1:Color = new Color(_root.m1);
var c2:Color = new Color(_root.m2);
deduct your color from white, will give you the opposite color
that's what i said.
Perfecto. Thanks alot guys. I thought that it would be unbelieveably complicated and that I might have found something to stump even the greatest... should've known, there just aint no stumping some people. Thanks for the help.