Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jpeg trancparancy color?????

Status
Not open for further replies.

fri6

Programmer
Feb 9, 2000
6
US
is it possibble to import a jpeg image or bitmap into a flash movie and set a color as transparent so that you can see behind the image in specific places?? or a way to define a wierd shaped edge to an image???
 
i've already solved my own problem the answer is,<br>
use a transparent gif, i made it using photoshop using a transparency mask and then imported it into flash, its a little lower quality but works good, any other suggestions would still be helpful thank you!, fri6 -xbillx-
 
Flash 4 will allow you to set any bitmap (jpegs become bitmaps when imported into Flash 4) color for transparency. This technique is covered in the Flash 4 users manual. The technique works well but you must first convert the jpeg into a symbol. So you acutally set the transparent color range on the symbol and the actual jpeg stays the same as when imported. Once you do it its easy and works well.
 
i've got the manual, now where is it described at? I can't find it. thanks alot for the tip!
 
If the background of the photo is one color this can be done easily. First, you must break apart the image, then click on the lasso tool. Down below the toolbar on the left will be a choice for the "magic wand" tool, as well as a properties box for this tool. Based on the settings you choose, you can select a given color in the image, and it will select that color and similar colors in contact with it. Then you can delete these pixels. If the background is solid, this works well. Once you are done, just regroup the remaining pixels. Good luck.
 
curt that doesn't work for imported bitmaps, and i still cant find the above mentioned in the manual
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top