ForumsProgramming ForumFlash CS3 bitmap "transparency" issue

3 4570
Annihalation
offline
Annihalation
479 posts
Nomad

Okay, I'm putting this in the programing section because Flash CS3 is what I'm using (AS3). I'm having a problem with bitmap "transparency". Not the transparency/opacity that most people think, but the transparency of the color "white". How do I make it to where when object 1 moves in front of object 2, the white pixels in object 1 are 100% transparent (so that you can still see object 2)? I made the bitmap files in Paint... trying to switch from AS2 to AS3. Thanks for any help in advance, I've been searching for like an hour now to no avail

  • 3 Replies
PixelSmash
offline
PixelSmash
566 posts
Nomad

Well, there's probably a few ways to do this, but none that I can think of that are easy to moderate.

What you might consider as an alternative is saving your images as a .png, so you can preserve the transparency - and not save to white. Naturally, this can be done with Photoshop, but I highly suspect there are a number of freeware programs that can do this as well, for instance GIMP.

Give it a go, and see how it works out!

Darkroot
offline
Darkroot
2,763 posts
Peasant

Uhh you know that you can just cut out a "hole" or erase part of the image or change the colour of white to null (white with a line through it).

Annihalation
offline
Annihalation
479 posts
Nomad

the null thing sounds easier as I dont have a photo shop program other than Irfanview... I'll try making the pixels null instead of white.

Showing 1-3 of 3