Sign in to follow this  

[web] Interfacing Flash with JAVA/C++

This topic is 4412 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey I'm looking for information on how to get Macromedia Flash to talk with C++ or JAVA. I have heard that this is possible. I'm currently gooling the subject but are having trubble finding a good source on how to do this. What I'm trying to do is to have game logic in c++/Java and then only the graphics/presenting layer in flash. thanks Lizard

Share this post


Link to post
Share on other sites
What I'm looking for is to run a swf file as normal in macromedia flash player in a browser. But it should be able to talk with c++/JAVA code for game logic.
gameswf seams to be a parser and renderer of swf files, intressting but nort really what I'm looking for.

Lizard

Share this post


Link to post
Share on other sites
What you're probably looking for is something like Multidmedia Zinc. That's an executable wrapper for the Flash player that lets you do things like merge DLL's into your executable and call the code in 'em from Flash.

Other than that, there's not a real Flash-only based solution for that. Flash is designed to be a thing that runs in its own sandbox to prevent malicious Flash movies from hurting your machine, so there's no Macromedia-blessed method for breaking out of that.

Share this post


Link to post
Share on other sites
Quote:
Original post by Saruman
I once had to implement flash talking to c# and also asp.net pages.. and I used fscommand and listeners in flash and caught the fscommand event that the activeX component throws.

Was quite easy.


Yes, I was on this track to but since ActiveX is a Microsoft technology this would mean only windows. So I'm looking fior a more cross platform solution. I have found that actionscript can communicate with javascript (link). And an applet can also call javascript and be called from javascript according to sources. Right now I'm having problems calling javascript from an applet (see my other thread ).

Edit: Solved the part about calling javascript from an Applet.

Lizard

[Edited by - LizardCPP on November 13, 2005 3:52:37 AM]

Share this post


Link to post
Share on other sites

This topic is 4412 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this