Re: [flexcoders] uploading an object

2006-12-02 Thread Mike Weiland
Daryn, I see what you really want to do is more akin to this: http://www.kaourantin.net/2005/10/png-encoder-in-as3.html I¹ve used this for something similar, I believe someone has written a JPG encoder, but all you need to do is grab the bitmap data of the web cam and upload the binary to the

Re: [flexcoders] uploading an object

2006-12-02 Thread Daryn Nakhuda
The same author wrote a jpg encoder. I was just hoping to leverage the existing middleware that accepts a multipart form upload to accept this binary data in the same manner. Thanks for your advice! Mike Weiland wrote: Daryn, I see what you really want to do is more akin to this:

RE: [flexcoders] uploading an object

2006-12-01 Thread Dimitrios Gianninas
Yes, use the FileReference class, it does this. There is an example in the documentation. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daryn Nakhuda Sent: Friday, December

RE: [flexcoders] uploading an object

2006-12-01 Thread Mike Weiland
Daryn, It's possible, but probably not the way you are going about doing it. I've taken 2 different paths to achieve this in the past, the first was on www.CertificateCreator.com when a user saves a certificate the object that describes the certificate is sent to ColdFusion and I convert the

Re: [flexcoders] uploading an object

2006-12-01 Thread Daryn Nakhuda
Hi Dimitrios, FileReference works for uploading a local file to the server, but I want a way to upload serialized data that is already within my application, AS IF it were a local file. If there is a way to seed the data in FileReference, instead of using browse(), that would be perfect, but

Re: [flexcoders] uploading an object

2006-12-01 Thread hank williams
I believe the only way to do that would be to write a little javascript and then use external interface to actually send the data to the javascript. Shouldnt be too hard, though I have never tried it. Regards, Hank On 12/1/06, Daryn Nakhuda [EMAIL PROTECTED] wrote: Hi Dimitrios, FileReference

Re: [flexcoders] uploading an object

2006-12-01 Thread Daryn Nakhuda
Thanks Mike! I was trying to avoid using remoting, since I'm not using it anywhere else in my application (yet). Basically, I have a file upload to upload your picture, and I wanted to have a webcam snapshot option, that posted to the same existing backend piece. Doesn't sound like that is