i'm wondering how i can use my imported PNG (imported from PS) as a mask. The picture is transparent and i want it to run over a bitmap and reveal it partially. But the thing is that even though it is transparent (see attached picture) it does not ACT as if it was transparent. It even shows as transparent in Flash but when i mask it, it acts like a square with the size of the picture how can this be solved (preferably without having to draw this in flash or illustrator, which would suck)
You can't do that. Break apart the bitmap. Then set the magic wand to 75 - 100 and remove the transparency. Make a movieclip out of the leftover and use that as a mask.
- The right of the People to create Flash movies shall not be infringed. -
there was some trick with alpha- gradients used as masks. This could be archived if the gradient alpha shape as MovieClip had the attribute of cacheAsBitmap set to true.
Perhaps this works as well with PNG alpha bitmaps?
there was some trick with alpha- gradients used as masks. This could be archived if the gradient alpha shape as MovieClip had the attribute of cacheAsBitmap set to true.
Perhaps this works as well with PNG alpha bitmaps?
maybe, i did this on a gradient (color -> transparent) that i had created in Flash, and that works. but i tried doing this to my PNG mask, and it doesnt seem to work, still acts as a square, maybe im doing something wrong?
You absolutely can do this with png's. The png must be in a movie clip set to cache as bitmap, and the clip to be masked must also be set to cache as bitmap. Then you set the mask in code, like: