243 posts
  • Europe
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
creativestuff says

hi, I work on a gallery and I want to make the thumbs to have a reflection effect so I need to mask it with a linear colur from full alpha to 0 alpha

Since I want to have gardient mask on it I cannot simply add it to a layer and convert it to Mask and since the images are loaded from an xml I have to call a Imageholder.setMask(maskInstance);

I do this but there is no fade out effect on the image… what is wrong?

Do I have to use some special includes?

I checked out tons of tutorials and source files and did just like them … but it always results a FULL visibility reflection…

1955 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Netherlands
  • Referred between 10 and 49 users
  • Sold between 5 000 and 10 000 dollars
Emroni says

Use this piece of code, itwill allow the gradient alpha masking :)

mc.cacheAsBitmap = true;
mask.cacheAsBitmap = true;
mc.setMask(mask);
243 posts
  • Europe
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
creativestuff says

Emroni you deserve a beer :) thx!

1955 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Netherlands
  • Referred between 10 and 49 users
  • Sold between 5 000 and 10 000 dollars
Emroni says

No problem mate :) So where is that beer you were talking about? :P

by
by
by
by
by
by