Hey dude, i tried in many ways still i got confused with this.....anyway i did a sample hope you may get some idea from this....if u done please tell me how....
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout="vertical" > <mx:Script> <![CDATA[ *import* mx.controls.Label; *import* mx.core.UIComponent; *private* *function* getLabel() : *void*{ *var* bitmapData : BitmapData = *new* BitmapData( lbl.width, lbl.height ); bitmapData.draw( lbl, *new* Matrix() ); myImage.source = *new* Bitmap( bitmapData ); } ]]> </mx:Script> <mx:Label id="lbl" click="getLabel()" text="click" width="100" height="20"/> <mx:Image id="myImage" /> </mx:Application> Regards, DineshKumar.T --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

