473,322 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 3702
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

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

Similar topics

7
by: Peter Oliphant | last post by:
Using MakeTransparent one can supposedly turn a color used in a Bitmap to transparent. But, it looks to me like all it does it set these pixels to the color BackColor of the Control it's attached...
0
by: eruess | last post by:
Here's the scenario: I've got a whole bunch (for the sake of argument, let's say thousands) of different little 32x14 .png files that act as buttons all over a very large website. Each button...
4
by: jcrouse | last post by:
I am using the following code to move a label on a form at runtime: If myMousedown = lblP1JoyRight.Name Then If lblP1JoyRight.BackColor.Equals(Color.Transparent) Then bTransCk = True ...
2
by: Shane Stewart | last post by:
I've created a user control inheriting a picturebox. I want to set a non-rectangular area to the current system color.control. I'm looking for either a "fill" command that will set all contiguous...
1
by: laredotornado | last post by:
Hi, I'm trying to have a repeating vertical graphic that repeats all the way down my table except for the bottom 20 pixels, which I would like to be blank -- white, if white is the default BODY...
4
by: Dale | last post by:
I am creating GIF images with transparent backgrounds on-the-fly for a web app and rendering them by using System.Drawing.Image.Save(Response.OutputStream, ImageType.GIF). I am confident that...
8
by: Brian Ward | last post by:
I am looking for a simple way to set the image transparency in a PictureBox. I have a moving PictureBox containing a graphic image .. moving by incrementing its Left property. The background...
0
by: ashokprem18 | last post by:
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 dosent have any white background we can use the image as it is ...
6
by: Rauan Maemirov | last post by:
Hi, all. I'm trying to replace <object ...><embed... /></objectwith <imgtag and vice-verse. It's like implementation of media plugin of Tiny MCE editor. I tried to watch their code, but it's too...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.