|
How do I get Java and Flash to communicate with each other? To communicate from Flash to Java, you can simply create an fscommand such as: on (release) {
fscommand("yourCommand", "additional data");
}
The fscommand event can be captured with the JFlashPlayer API.
To communicate from Java to Flash, you can set variables with the setVariable method and then check them in your flash code. Also, you can call frame actions from Java and then check the variables in Flash. |
|
Do you plan on creating a Linux or Mac version of JFlashPlayer? At this time, we do not plan on creating a Linux or Mac version. However, for the Mac, the Apple Java Quicktime API already supports the playing of flash movies. For more information about this, please see this Quicktime PlayMovie Sample. |
|
Can JFlashPlayer work in a java webstart application? Yes, with some additional work, JFlashPlayer can work in a webstart program. JFlashPlayer requires native DLL files that need to be on the system path or in the current directory. You must include the DLL files in your webstart application as resources. When your program starts, you can load the resources and rewrite then as files to a directory you know is on the system path such as C:\Windows\System32. |
|
Can JFlashPlayer work in a java applet? No, for several reasons including browser security and the way applets load in browsers, JFlashPlayer cannot work properly in an applet. |
|
Your license requires obfuscation. What do you recommend for this? |