This content has been marked as final. Show 3 replies
anyone who can help ?
Much appreciated !
Are you just looking to turn an image to black and white? If that's the
case, then you can use the colorMatrix filter:
var elements = [0.33, 0.33, 0.33, 0, 0, 0.33, 0.33, 0.33, 0, 0, 0.33, 0.33,
0.33, 0, 0, 0, 0, 0, 1, 0];
var grayFilter:ColorMatrixFilter = new ColorMatrixFilter(elements);
myClip.filters = [grayFilter];
You'll have to stick it into a loop if you want to animate the desaturation.
Adobe Community Expert
Well, yes and no.
I want it to be event triggered (is that the right way to say it ?)
Meaning that there are 8 photo's, and i when rolling over 1 of them, the active one will stay in color and the others gradually desaturate.
When i click on the photo it must stay in that state.
But when i rollover to a different photo, all the others should desaturate or remain desaturated.
Hope this is clear enough :)