0

Is there anyway of upload a file in flex 3.5 without using fileReference? Or even with fileReference, but without browsing, for example, I'm trying to take a printscreen and send it to my java web server thanks

2 Answers 2

2

You can take a image snapshot and then use urlRequest to upload. Have a look on http://marstonstudio.com/2007/10/19/how-to-take-a-snapshot-of-a-flash-movie-and-automatically-upload-the-jpg-to-a-server-in-three-easy-steps/

Sign up to request clarification or add additional context in comments.

Comments

2

Sure you can. Create an upload service on the java side that takes a byte[] object as argument. On the client side, send a ByteArray. BlazeDS or the flex/jave bridge you use will convert the data for you

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.