3/5/2010 1:12:41 AM
Title:
java and flex together
how we can create a combined Java/Flex project and run it.
Help please
3/5/2010 2:01:51 AM
You can embed swf and java applet on the same html page and make them communicate with each other using javascript
all public functions in java applet are accessible from javascript using
document.appletId.appletFunctionName()
and flash file can use external interface to access javascript functions
so the communication is like
flash ---> javaScript --> java
java ---> javascript ---> flash
3/5/2010 2:20:06 AM
hi Gladiator
i m creating desktopapplication in flexbuilder in that i need to use flex and java together .Can u please explain.
thanks in advance
3/5/2010 5:13:44 AM
hi check this article to setup java and flex project . I have not used it but have came across searching . I hope it helpful to you.
http://www.mindtheflex.com/?p=55
3/5/2010 5:45:41 AM
hi rani the solution i suggested is for flex web application. How ever you can use Merapi , which is a bridge between adobe air application and java.
check out this link
http://devgirl.wordpress.com/2008/11/13/flexair-to-java-communication-using-merapi/