How do I send data from Java to Flash locally?
Posted
by terence
on Stack Overflow
See other posts from Stack Overflow
or by terence
Published on 2010-05-31T23:48:00Z
Indexed on
2010/05/31
23:53 UTC
Read the original article
Hit count: 232
I have a website with a Java applet and a Flash application. I want the Java applet to send data to the Flash application locally. What's the best way to do this?
The data I want to send are potentially large images (possibly up to 1MB in size). This means sending a base64 string to javascript and then to Flash would probably be too cumbersome.
I don't want to have to contact external servers or anything; all of it should be possible locally and offline. Is there some easy way to just send this sort of data around?
If I saved the file locally first, Flash wouldn't be able to access that, would it?
© Stack Overflow or respective owner