There is no documentation stating this. but i said it is not working for
labels. If want you try this.


            var txtChar:Label=new Label();
            txtChar.text="To view the test";
            var bitmapdata:BitmapData=new
BitmapData(width,height,false,0xFFFFFF);
            bitmapdata.draw(txtChar,null,null,null,null,false);
            var bmp:Bitmap = new Bitmap(bitmapdata);

then add this bitmap to any container. Then it should display the text
inside the label as bitmap but it is not displaying anything.

instead of label use Textfield at the same place you can view the image.

On Thu, Sep 25, 2008 at 5:57 PM, <mx:AnandVardhan/>
<[EMAIL PROTECTED]>wrote:

>
> Is there any documentatin which syas it will not work with Labels. Coz
> this is strange.
>
> Anand
>
> On Sep 25, 2:39 pm, "Shyam Sundar" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > bitmap data is working only for flash objects like 'textfiled'. I tried
> > using bitmapdata for labels but displayed empty bitmap image.
> >
> > so give some other solution which resolve this case.
> >
> > On Thu, Sep 25, 2008 at 2:39 PM, HISSAM <[EMAIL PROTECTED]>
> wrote:
> > > your case is really interesting
> >
> > > try searching on bitmapdatamight get some help
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to