Jump to content
Search Community

skie78

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Location
    Italy

skie78's Achievements

0

Reputation

  1. Wow thank you a lot, I really didn't notice my mistake, now it does make sense. Finally is working.
  2. Thanks for the quick answer, I'll check the conflicting tweens. My problem is exactly what you say in the answer 1. The problem in that the designer wants this effect (all the image desaturated that on rollover come to color) and I cannot change her mind. I thought that the problem could be that the container I send on the rollover rollout is desaturated so it could not come back to full color. Do you know if there is any way to make this happend? I could save the picture both saturated and desaturated but I would like to avoid to save twice the images.
  3. Thanks for the answer, I tried your code and it did work but it's the opposite of what I want to do. I'll try to explain myself better, in your code you desaturate the image on the rollover and then saturate it back on the rollout. Instead what I need to do is to have all images desaturated on the loading. Then on the rollover I want the image to saturate them back to color and on the rollout I want them to desaturate. I'm uploading the zip file.
  4. Hello, just discovered the colorMatrixFilter plugin and I really like it, I'm finding some issue on a project I'm working. I'm working with AS3 I loaded 4 different images with color, I turn them all in black and white. TweenMax.to(mc, 0, {colorMatrixFilter:{saturation:0}}); then I want that on the mouseover of each image they turn back to the color image and on mouveout turn back to black and white, so I created the EventListener and on the I call the function miaClip[i].addEventListener(MouseEvent.MOUSE_OVER, suMouse); miaClip[i].addEventListener(MouseEvent.MOUSE_OUT, fuoriMouse); then the function private function suMouse(evento:MouseEvent):void { var nuovaClip:MovieClip = evento.currentTarget as MovieClip; TweenMax.to(nuovaClip, 3, {colorMatrixFilter:{saturation:1}}); } private function fuoriMouse(evento:MouseEvent):void { var nuovaClip:MovieClip = evento.currentTarget as MovieClip; TweenMax.to(nuovaClip, 2, {colorMatrixFilter:{saturation:0}}); } But on the mouseover the image doesn't change at all, I've done some test and if I do the opposite meaning I leave the image with color and apply the saturation 0 on the mouseover and saturation back to 1 on the mouseout everythings work fine. I think that the problem is that on the mouseover it pass the MovieClip with saturation 0 so it doesn't know how is the image with saturation 1. Hope I mage myself clear. Can anyone help me out??
×
×
  • Create New...