Hello folks, well i am a little confused about the use of Flex and java, this is my problem: My java application must read two .zip files from an online server. These classes will load and parse the data in a Thread and perform certain actions depending on such info. The problem occurs when my flex application calls the java method that queries such data. I need to WAIT until the loading has finished. Any ideas? Another doubt is if the Java classes are being compiled and transformed into some form of ActionScript classes. Maybe I'm lost in space, so please I need a light in the darkness, thank you.
+1
A:
What you want to do is either set up a remote object or httpservices so you can call a server side java method -> do what ever processing it needs to -> and send a response to the flex application. You should check out BlazeDS and HttpServices.
Shua
2009-08-21 16:34:13
I forgot to mention. You'll add result handler on the flex side to catch the java result.
Shua
2009-08-21 16:36:10