Embedding Flash / Flex component into Java app

后端 未结 4 830
Happy的楠姐
Happy的楠姐 2020-12-18 09:35

I\'m working on some Flex spike in my company. We are basically evaluating different scenarios etc. What solution would you recommend for embedding Flex components into Java

相关标签:
4条回答
  • 2020-12-18 09:55

    I've done it with EasyJCom. It's pretty straight forward as long as you're using one of the standard Java windowing libraries (Swing, awt). You can see an example (From the EZJCom site) here: http://www.ezjcom.com/FlashTest.java.txt

    The people responsible for EasyJCom are also very responsive, and even though we ended up not using their product (Switching platforms), I'd recommend them.

    I haven't used JFlashPlayer, but did take a look at the docs, it seems to be adequate as well. I think their license requires you to obfuscate your code. I thought it was a little odd, but maybe I mis-understood the license.

    It gets quite a bit more complicated if you don't want to use Com, or if you need to embed in another type of window.

    If you need to embed flash cross platform, you may be stuck rolling your own Jini library for the Mozilla plugin. At that point... Maybe it's worth just switching platforms if you aren't too far in. ;)

    0 讨论(0)
  • 2020-12-18 09:56

    Haven't tested this, but it looks like JFlashPlayer will do the job. http://www.jpackages.com/jflashplayer/

    0 讨论(0)
  • 2020-12-18 09:56

    None of these supports Linux or MacOS. So much for the cross-platform Java and Flash.

    0 讨论(0)
  • 2020-12-18 10:01

    I think the best way to do something like this would be to embed something like xulrunner into your java app then have the java app interact with flash via the xulrunner interfaces.

    0 讨论(0)
提交回复
热议问题