-
Uploading
I'm wondering if this is possible with AS3 and Flash CS4. Is there a way to have the user select and image file, resize it client-side, then send that data to my server? I know how to upload an image with Flash and resize it server-side, but it would dramatically decrease the upload time and bandwidth usage if it could be resized BEFORE the upload.
Is there a way to send bytes of information instead of an actual file?
Thanks for any help with this!
-
Yes there is a way, this link should get you started:
http://labs.findsubstance.com/2008/0...encode-images/
-
sstalder, thanks for that link! That helped a ton. I got everything working exactly the way I wanted! The only thing I would like to add is a progress bar for the upload transfer.
Does anyone have any ideas how to acheive this using a url-request and PHP? It doesn't work like Filereference by invoking the progress handler.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|