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 currently easy/possible.

I'll look at the FMS solution though, as I am already using that elsewhere.


Daryn



Mike Weiland wrote:
>
> 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 object to WDDX and store that in the database. Then when a 
> certificate is opened it is retrieved from the database converted from 
> WDDX back to a ColdFusion object that Remoting converts back to a 
> Flash object. I've done this similar thing with .NET and PHP remoting, 
> the trick is to find what format your middleware can store in your 
> database.
>
> The second approach I've used was to use Flash Media Server to store a 
> remote shared object of the object. My app would make the remote 
> connection get the object and start up. This approach worked great 
> because there weren't a lot of objects that needed to be saved and 
> retrieve and the application doesn't have many concurrent hits that 
> would limit our license, plus after the retrieveal of the object the 
> remote connection is closed.
>
> I believe FDS has the same remote object capabilites as FMS has so you 
> might already have that end.
>
> Good luck,
>
> Mike Weiland
>
> Original Message -----------------------
> I have data in my flex app that I want to send to my server as if it
> were a upload from a filereference (aka, as a multipart form).
>
> Is there a easy way to do that?
>
> Basically, I already have a backend servlet that accepts file uploads
> from my flex app, and from an html browse form, and i'd like to use
> that same backend with arbitrary serialized objects in my swf.
>
> Thanks,
>
> Daryn
>
>  

Reply via email to