469,295 Members | 1,936 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,295 developers. It's quick & easy.

how to replace the transparent pixels instead of white.

I have a problem when we load the image into the movie clip, I have to replace the transparent pixels instead of white.

If the image contain white pixel it has remove it completely from the image and has to give the final image without the White background .

If the image dosent have any white background we can use the image as it is.

Please provide me the code as soon as possible.

Flash Action Script 2.0 is being used.
Oct 29 '07 #1
4 3532
rrocket
116 100+
I am not sure if I fully understand what you need. Do you want to use images with a transparent background or want to apply a white background to your images. Either way it is probably easiest to take care of it before you import the images in to Flash.
Oct 29 '07 #2
xNephilimx
213 Expert 100+
I agree with rrocket.
I also don't quite get what you're trying to do. But if you want images with dynamic transparency, just use png images, since flash supports png's alpha transparency.

Best regards,
The_Nephilim

I am not sure if I fully understand what you need. Do you want to use images with a transparent background or want to apply a white background to your images. Either way it is probably easiest to take care of it before you import the images in to Flash.
Oct 30 '07 #3
m31uk3
1
This would be extremely useful to eliminate the overhead of having to convert the image to transparency from white before flash.

Are you positive it is impossible?
Nov 19 '07 #4
rsdev
149 100+
I agree with rrocket.
I also don't quite get what you're trying to do. But if you want images with dynamic transparency, just use png images, since flash supports png's alpha transparency.

Best regards,
The_Nephilim
The_Nephilim suggestion is best way to go. Another option is to use one of the blend modes in Flash 8 'multiply' or 'screen' I think! Try them to see which one works.
Nov 19 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by eruess | last post: by
4 posts views Thread by jcrouse | last post: by
8 posts views Thread by Brian Ward | last post: by
6 posts views Thread by Rauan Maemirov | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.