views:

22

answers:

0

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?