On 3/30/06, sn197412 <[EMAIL PROTECTED]> wrote:
> private function controlToBitamap(event:MouseEvent):void
> {
> // How should I write for converting mx:Image to Bitmap ??
var myBitmapData:BitmapData = new BitmapData(cvs.width, cvs.height);
myBitmapData.draw(cvs);
var bmp:Bitmap = new Bitmap(myBitmapData);
See how that works.
Manish
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/