View Full Version : bitmap to mask ?
aneuryzma
01-19-2009, 05:57 PM
SORRY the title is wrong.. bitmap to shape!!
Is possible to convert a bitmap such as the one attached to this post into a shape to use in a mask ?
Deackie
01-23-2009, 04:09 AM
your mean achieving it by code only?
if so
convert your .bmp file into .jpg/.png file first for Flash cannot load .bmp file directly.
Then you create an empty MC, load an external .jpg or .png into this MC by MovieClipLoader
is that fit for you?
Deackie
aneuryzma
01-24-2009, 10:16 PM
mhm, isn't mask working only with shape ?
I want to use the shape in the bitmap for my mask.
Is there a method to easily create the shape object from the bitmap ?
thanks
Deackie
01-25-2009, 01:59 AM
sorry
i didn't get you:p
use modify - bitmap - trace bitmap
Then select and delete the white part of your shape, and there you go
Note, this method is only usable when the bitmap is relatively simply to trace.
you can experiment on the 'trace bitmap' command to get a better shape
aneuryzma
01-25-2009, 08:36 AM
thanks, this is exactly what I meant.
But the Bitmap item in Modify menu is disabled. Why ? How can I activate it ?
Deackie
01-25-2009, 01:58 PM
it is possible that you've broken apart the bitmap beforehand unexpectedly.
Just maintain the bitmap what it is when it's imported in the library/stage, then i don't think the 'trace bitmap' option will be gray.
i've tried this ,and it works without any problem.
:)
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.