Re: [flexcoders] amfphp problem - Client.Error.DeliveryInDoubt - when trying to export image

2009-03-04 Thread Rico Leuthold
Hi, Thank's for the answer. But how can I get the ByteArray with the data and the filename in the php upload script at the same time? It seems not possible to send the ByteArray in a post variable and read it out in php. Thank's _rico On 03.03.2009, at 19:09, Fotis Chatzinikos wrote: I

Re: [flexcoders] amfphp problem - Client.Error.DeliveryInDoubt - when trying to export image

2009-03-04 Thread Rico Leuthold
Hi again, Found a workaround for this problem (Source: http://blog.flexexamples.com/2007/12/07/converting-an-imagesnapshot-object-into-a-base-64-encoded-string-in-flex-3/) Instead of encoding the ImageSnapshot to a ByteArray, it's easy to encode the data to a Base-64 string ( ImageSnapshot.

[flexcoders] amfphp problem - Client.Error.DeliveryInDoubt - when trying to export image

2009-03-03 Thread Rico Leuthold
Hi, I have a really annoying, randomly occuring, problem with amfphp when I want to export an image file. The application is sending a byteArray (png encoded) to php over amfphp, where the png file is created and the image file is served for download. Sometimes that works perfect, but the

Re: [flexcoders] amfphp problem - Client.Error.DeliveryInDoubt - when trying to export image

2009-03-03 Thread Fotis Chatzinikos
I never use amf to upload images. I always post to a normal upload.php page. If you do not find a solution to your amf problem try this... Have in mind that you will need to send the server session as well if you follow my advice, as the flash player has a different session id in some browsers