Are you setting transparent to true when you create the BitmapData? I would assume so because that is the default.


On Jan 25, 2008, at 11:55 AM, honoraryvato wrote:

Thank you for the BitmapData.draw() tip. But now I have another
problem with it. When I make the Bitmap, the background is white. So
it is black text with a big white box around it. It should be showing
through blue. Is there a way to make the white background of the
Bitmap transparent?

--- In [email protected], "Mike Krotscheck"
<[EMAIL PROTECTED]> wrote:
>
> Absolutely- check out the documentation for BitmapData.draw(). Just be > very careful- bitmapdata objects aren't automatically Garbage Collected, > you have to explicitly call dispose() to keep them from sticking around.
>
> Michael Krotscheck
> Senior Developer
>
> RESOURCE INTERACTIVE
> www.resource.com
> [EMAIL PROTECTED]
>
> We support privacy and confidentiality. Please delete this email if
it was received in error.
>
> What's new ::
> Capitalize on the social web | The Open Brand, a new book by Kelly
Mooney and Dr. Nita Rollins, available March 2008 | www.theopenbrand.com
>
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of honoraryvato
> Sent: Thursday, January 24, 2008 1:23 PM
> To: [email protected]
> Subject: [flexcomponents] Make a Label a Bitmap
>
> Is there as way in Flex 2 for me to cast a Label as a Bitmap or to make
> a Bitmap copy of a Label? I have a Panel that fades in and out.
> On that Panel is a Label. Since the font is not embeded the text in the > Label stays where it is and does not fade. I do not want to embed the > font. I need to make is a Bitmap so it can fade in and out. Does anyone
> know how to do this or have a piece of code I can take a look at?
>
>
>
>
> Yahoo! Groups Links
>




Reply via email to