2 Replies Latest reply on Jun 16, 2008 10:52 PM by nandeshnair

    invoking a java program from Flex


      Im developing an AIR application. Can I invoke a Java code from my application?? Is it possible to do this using action script?? Im using Flex3.

        • 1. Re: invoking a java program from Flex
          SujitG Level 2

          I don't think there is any straightforward way to do this. You can may be communicate to your Java code code using ports.

          Hope this helps.
          • 2. Re: invoking a java program from Flex
            nandeshnair Level 1
            Let me explain what I want to do...Actually I'm working on an AIR app which is a GUI for ffmpeg(a video converter which uses command prompt). A user can upload files to the FMS using this AIR app... When the user uploads a video, I want my flex app to automatically invoke the video converter and convert it to .flv format.. (After the upload) ...So I'm using LCDS... What I'm asking is can I invoke a .exe file from an AIR app..??? I read about some security issues with this..So I wrote a Java code to invoke the .exe....The Java code executes fine when run separately...But when I used Remote object in the flex code, although the java code executes....The .exe doesnt get invoked...How do I manage???