In my humble opinion, I think you'll have to use an enterframe event Or
setInterval with a bitmapData.getPixel(x,y) call, to retrieve the data from
the bitmapData and then send that as a string using LoadVars class (with a
flash parser class- when loading it back) or in XML format. Also check out
AMF for a smaller sized packet sending.
but I think there is no way you can dump the data from bitmapData other than
the getPixel method which is unfortunately very slow.
Can any body else advice us if there's a better way to do it ?
Yehia Shouman
----- Original Message -----
From: "ivan valadares" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Thursday, January 26, 2006 5:13 PM
Subject: Re: [Flashcoders] saving bitmapData
if is as web application, you can use php to write de data to a file, if
is an apllication you can use zink.
in the two ways, you can get data from flah and write it to a file. (like
. myimage.egf)
you can use flash. loadvariables to retrived it!
i dont know very well bitmapData, but if bitmapData gives you data and a
header. tou can make a jpg ou a bitmap file.
Maxime wrote:
Is there a way to save a bitmapData created in flash on the user local
disk or on a server ?
Maxime
Thanks
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders