I wasn't setting a value for transparent on BitmapData. That's why I
was getting the white background. And I didn't realize applying a
filter would work. Never crossed my mind. Thank you all for all of the
help.


--- In [email protected], "Doug McCune" <[EMAIL PROTECTED]> wrote:
>
> BTW, if all you're trying to do is make the Label fade correctly,
you can
> just apply a filter on the label, which automatically caches it as a
bitmap,
> and then the fade will work. You can even apply a filter that
doesn't really
> do anything, like say a BlurFilter with blurX and blurY set to zero.
You can
> apply a filter in either MXML or AS code.
> 
> Doug
> 
> On 1/25/08, Paul Decoursey <[EMAIL PROTECTED]> wrote:
> >
> >   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]
<flexcomponents%40yahoogroups.com>,
> > "Mike Krotscheck"
> > <mkrotscheck@> 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
> > > mkrotscheck@
> > >
> > > 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]
<flexcomponents%40yahoogroups.com>
> > >
[mailto:[email protected]<flexcomponents%40yahoogroups.com>]
> > On Behalf Of honoraryvato
> > > Sent: Thursday, January 24, 2008 1:23 PM
> > > To: [email protected]
<flexcomponents%40yahoogroups.com>
> > > 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