AS3 -> Java -> AS3

By veclock | Sep 27, 2009

actionscript3

I’m working on a Flash-based project, where I need to do some big calculations. AS3 is too slow for this, so I wonder if it’s possible to connect to Java and calculate there, and then send the result back to AS3?

I would be very happy if I get help! Please!

actionscript3

Please reply at our Forum

1 Comment so far
  1. Mikkel December 21, 2009 11:19 am

    That’s absolutely doable. You should check out this: ExternalInterface.Call(”nameOfFunction”,”parameters”);

    Remember that if you need to do this cross domain, you’ll need to open some security settings in your flash file:

    flash.system.Security.allowDomain(”domain”);

    Whether or not javaScript provides an actual speed gain or not, I’m not the one to tell you…

    Merry Christmas
    Mikkel

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

© 2007 ActionScript 3.0