header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
rani
Points:0
Posts:0

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



Gladiator
Points: 0
Posts:0
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

rani
Points: 0
Posts:0
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

Mersi
Points: 0
Posts:0
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

Gladiator
Points: 0
Posts:0
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/


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 8+8 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions