How to run mxmlc from within an Adobe AIR application

Hi. I'm at the planning stages of writing an Adobe AIR application that needs to be able to run the mxmlc Flex compiler from within. I don't know if this is possible, but if it is, then there are 2 things I don't know how to do:
1) I don't know what classes to use to execute mxmlc from within my AIR application;
2) I don't know how to register a listener to such so that the application will know when mxmlc has finished its execution.
Any help on this would be immensely appreciated. Thanks in advance.

There is a detailed article on Runtime
[url http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps_p.html]here

Similar Messages

  • How to Enable Auto Update functionality in  adobe AIR application?

    Hi All,
         How to Enable Auto Update functionality in  adobe AIR application and ask for new version to install to user.
         Please provide some informarion regarding above topic.
    Thanks,
    Sunil Rana

    Hi All,,
    Got solution. call checkUpdate() function in application level initialize event.
    private function checkUpdate() : void
                    appUpdater.updateURL = "http://www.aa.com/flex/aa/NativeUpdater.xml";
                    appUpdater.addEventListener(UpdateEvent.INITIALIZED, updater_initializedHandler);
                    //we can hide the dialog asking for permission for checking for a new update;
                    //if you want to see it just leave the default value (or set true).
                    appUpdater.isCheckForUpdateVisible = false;               
                    //we initialize the updater
                    appUpdater.initialize();   
                 * Handler function for updater_initializedHandler events triggered by the ApplicationUpdater.INITIALIZED
                 * @param updater_initializedHandler
                protected function updater_initializedHandler(event:UpdateEvent):void
                    //initializeHandler();
                    appUpdater.checkNow();
    In NativeUpdater.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/1.0">
         <version>2.0</version>
          <url>http://www.aa.com/flex/aa/AutoUpdate.air</url>
         <description>
         <![CDATA[                 * This a Win update
          ]]>
          </description>
    </update>
    Upload NativeUpdater.xml file on your Server. When you open your old .air file it will ask for replace with new version.
    Thanks,
    Sunil Rana

  • All Adobe Air applications have stopped working

    After running Bit Defender - all my Adobe Air applications are no longer working.
    These are Tweet Deck
    SEESMIC Desktop
    basically they won't communicate with twitter - they say user name and password is wrong when it is not.

    That's odd, I had a problem with my Twitter/Tweetdeck feed last week but it seemed to resolve itself.  I'm not sure what AIR could be doing to interfere here.  Have you tried a native application out to see if it is able to authenticate you with Twitter?  You might also want to check in the TweetDeck forums to see if others have encountered this issue.  Please let me know how it goes.
    Chris

  • How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    How to get the data from mysql database which is being accessed by a PHP application and process the data locally in adobe air application and finally commit the changes back in to mysql database through the PHP application.

    If the data is on a remote server (for example, PHP running on a web server, talking to a MySQL server) then you do this in an AIR application the same way you would do it with any Flex application (or ajax application, if you're building your AIR app in HTML/JS).
    That's a broad answer, but in fact there are lots of ways to communicate between Flex and PHP. The most common and best in most cases is to use AMFPHP (http://amfphp.org/) or the new ZEND AMF support in the Zend Framework.
    This page is a good starting point for learning about Flex and PHP communication:
    http://www.adobe.com/devnet/flex/flex_php.html
    Also, in Flash Builder 4 they've added a lot of remote-data-connection functionality, including a lot that's designed for PHP. Take a look at the Flash Builder 4 public beta for more on that: http://labs.adobe.com/technologies/flashbuilder4/

  • How to run expdp from client ?

    Hi All,
    I tried searching google and forums for my issue but to no avail > How to run expdp from client side ....like in my laptop.
    Because currently our PROD database server has no space for expdp dump file. So I want it directed to my laptop which has an extenal USB of 1TB harddisk...via client EXPDP
    import data using impdp command
    Posted on: 08-May-2012 11:36, by user: 841731 -- Relevance: 53% -- Show all results within this thread
    below command is correct or not? if it is not correct could you please send me the correct command. impdp user/pass@databasename schemas=sourceschemaname remap_schema=sourceschemaname:destinationschemaname ...
    System generated Index names different on target database after expdp/impdp
    Posted on: 30-May-2012 11:58, by user: 895124 -- Relevance: 43% -- Show all results within this thread
    After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different ...
    [ETL] TTS vs expdp/impdp vs ctas (dblink
    Posted on: 08-May-2012 21:10, by user: 869578 -- Relevance: 39% -- Show all results within this thread
    (table : 500 giga, index : 500 giga), how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ? As you know, the speed of etl depends on the hardware capacity. (io ...
    Oracle Client
    Posted on: 21-Jun-2012 22:47, by user: Sh**** -- Relevance: 32% -- Show all results within this thread
    Hi Guys, Please can you guys elaborate the difference between Oracle Client and Oracle Instant Client. Also, please can you advise from where I can download the Oracle normal ...
    Oracle 10g Client
    Posted on: 05-Jun-2012 10:11, by user: dzm -- Relevance: 26% -- Show all results within this thread
    to search at oracle site and this forum, but i wasn't able to find a link to download the oracle 10g client. I really need especificaly the 10g version. Anybody know the link or another way to download ...
    9i client to access 11g database
    Posted on: 22-Jun-2012 07:31, by user: kkrm333 -- Relevance: 24% -- Show all results within this thread
    Hi, Can i access a 11g database using 9i client? Thanks,
    SQLplus in Oracle Client
    Posted on: 14-Jun-2012 00:36, by user: Tim B. -- Relevance: 24% -- Show all results within this thread
    Hi, I tried to install an 11g oracle client in linux. As I've compared the files with the files when you install using the oracle instant ...
    Re: Information on Oracle Client 11202-1.1.4-6
    Posted on: 05-Jun-2012 03:33, by user: 898763 -- Relevance: 23% -- Show all results within this thread
    Actually thats the client requirement
    Analysing the performance of a single client
    Posted on: 28-Mar-2012 02:05, by user: 880172 -- Relevance: 23% -- Show all results within this thread
    timeouts even on some of the simplest queries. I want to try and get some data about how just this one client is performing and what it’s doing, but everything Google has thrown up so far is orientated around ...
    to make client connection as sys
    Posted on: 12-Jun-2012 22:04, by user: user11221081 -- Relevance: 23% -- Show all results within this thread
    Dear gurus can i connect to my server from my client machine with sysdba without giving sys password i have connected in different ways as sys@abc ...Thanks a lot.

    Though you can initiate the binary from your client side but for the file creation, there is no other way but to store it on the server side. So your best bet would be to get some space free on the server side of yours.
    Aman....

  • How to run report from form using run_object_report

    I AM USNING FORMS9I/REPORTS 9I , HOW TO RUN REPORT FROM FROM USING RUN_REPORT_OBJECT AND HOW
    TO PASS PARAMETER AS WE DID IN RUN_REPORTS PLEASE HELP ME

    here an example !
    I hope this example you can use it
    PROCEDURE pr_reporte IS
    BEGIN
    DECLARE
         repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status Varchar2(20);
    d1 DATE;
    d2 DATE;
    BEGIN
         d1 := :GLOBAL.DIA_INI;
         d2 := :GLOBAL.DIA_FIN;
         repid := find_report_object('rep_lab02');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'p_fec_uno='||to_char((add_months(last_day(d1),-1) +1),'DD/MM/YYYY')||' '||
         'p_fec_dos='||to_char(d2,'DD/MM/YYYY'));
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
         v_rep := RUN_REPORT_OBJECT(repid);
         rep_status := report_object_status(v_rep);
         WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
              rep_status := report_object_status(v_rep);
         END LOOP;
         IF rep_status = 'FINISHED' then
              WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver','_blank');
         ELSE
              ventana('E','error reporte no encontrado','S');
         END IF;
    END;
    END;
    The 'rep_lab02' is the name of the report that you give in the node reports
    p_fec_uno and p_fec_dos they are the parameters in the report
    repserver is the name of server created with rwserver
    Greetings

  • How to run workflow from Developer studio ?

    Hi Guys,
    I searched for a work item type in the developer studio and it showed the results, but could not find out how to run it from there.. I know we can run it from there.. There is no run button or options available.
    Do i need to setup some profile options ?
    Any help in this is highly appreciated !!
    Thanks,
    Sathish

    Hi,
    Are you logged in as the Workflow Administrator or a user who has been assigned that responsibility?
    Have a look on the Administration tab and it will show you who is configured as the admin.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How to Run scenario from the web using HTTP web page?

    Hi guys
    Please let me know How to Run scenario from the web using HTTP web page?
    Regards
    Janakiram

    Hi Janakiram,
    ODI provides web based UI for running the scenarios using Metadata Navigator (read only of ur ODI components) and Lighweight designer (u can edit the mapping here).
    Please explore how to install metadata navigator in ODI and have a look at ODI Setup document for more information.
    Thanks,
    Guru

  • How to run notepad from a web application

    hi
    can any body know,how to run notepad from a web application under tomcat

    You already asked this question:
    http://forum.java.sun.com/thread.jspa?threadID=5150005&messageID=9561597
    Obviously running notepad on the clients PC is not possible (ignoring active x)

  • How to run import from Unix Oracle 8.0.5 database with Windows Oracle client?

    How to run import from Unix Oracle 8.0.5 database via network with Windows Oracle client? Is it possible? When I try to do it Oracle client just hangs... If not which ones are compatible Aix or Solaris to Unix or it must be a Unix client to connect to Unix Oracle database. Thank's for any help.

    Hi,
    In our project we are using this type. Since in this project server in UNIX(DEC) and client is running on windows. We have created a listener which always listen requests from client and doing the according to the request.
    Step1. create a request table, where u are inserting ur request.
    step2. create PRO*C proram, which is listening request on the table. If there is any request, call the imp (executable). This is happening on server side.
    Benifit. U can make a request from cleint and ftp the file client sit.
    Are u interested in more details and code, pls send a mail to me
    ---- Boby Jose Thekkanath
    [email protected]
    Dharma Computers(p) Ltd. Bangalore.
    null

  • How do I shutdown from within Genome??

    How do I shutdown from within Genome??
    There is only a logout option - and that do not work.
    If I open a terminal and enter init 5 nothing happens.
    Or so it seems some services maybe stop.
    BUT there is no logoff and shutdown of Genome. So I swicth
    off my pc and next time I boot up my file system was corrupted.
    FSCK did not work I end up install everything this time use bypass
    option and install the patches for PC-Solaris 8.
    How do I go to a command line environment within Genome
    a .dtconfig stop ?? Will this let Genome come down without
    booting up and loosing my system again??

    ok... i figured it out... a 'Sprite' is really also a DisplayObjectContainer... so if i make my class an extension of Sprite i can 'addChild' to the Sprite and then add them all to the stage at once by adding Sprite to the stage...

  • How to call a Oracle Form from within the oracle APEX application

    Hi,
    I am new for Oracle APEX. I have a requirment where need to call a Oracle form (.fmx file) from within the Oracle APEX application.
    Can someone help me out ?
    it would be a great help.
    Thanks

    This might help you...
    http://roelhartman.blogspot.com/2008/11/integrate-oracle-forms-with-apex.html

  • Text-rendering and font-smoothing within the Adobe Muse application e.g. antialiased etc.

    I'd love an option in the text panel where you can choose the rendering that you want the text to have when published. It's possible to do this using code and CSS after exporting but I'd like it to be possible within the Adobe Muse application, for both web fonts and built-in fonts e.g. Helvetica, Arial, Georgia etc. From what I know this isn't possible but if someone else knows how then I'd appreciate any help. Otherwise, it's a feature that I'd like to see in a future update.
    George

    Abhishek,
    Thank you for the reply. Wanted to comment on a few things.
    I reviewed the other post that you've referenced. Nothing unusual jumped out at me as something that I was not aware of. I'm running an older iMac that is in good working condition. 2.4 GHz Intel Core 2 Duo, 24" screen. I know this issue is fleeting, as I stated earlier typically can be corrected with a restart of the CC Desktop application (that I am always running at startup). I have not been able to determine that shutting down Muse corrects the issue. I would, at this time say it doesn't.
    I did open InDesign and see if the fonts in question, Open Sans and Open Sans Condensed, were present and usable. They were. The fonts are shown as being synched in my CC Desktop app window (even if they are not "installed" in Muse). That is expected but it may be a bug in how Muse brings in a font from those that are already synched to your CC account. I don't know enough about how that works to comment.
    And just to complicate matters, Muse seems to be working again, the fonts that is. I brought them back in and they are showing up in all locations (which there are actually three - see screen shots).
    First is primary text menu dropdown (to right of orange "Text").
    Second is if you click orange Text link. Another drop down menu appears.
    And lastly, the Text Panel to right of screen.
    I also wanted to add this extra bit of information, for what it is worth. When the issue arises and you do not get the sub-menu dropdown showing various styles of the font (italics, bold, etc.), one can use click on the missing font if you had used it previously and it is present in the "previously used font" list.
    Cheers!

  • Testing adobe air applications with fake apple certificate in iOS simulator running in a hackintosh

    I can compile an Adobe Air application on windows with a fake apple certificate. Can I test this application in iOS Simulator running on a hackintosh? Or is the simulator blocking testing of IPA outside from XCode ie: it's not a standalone simulator for IPA files. Are there any affordable web service for testing IPA with a true emulator or real device? I'm asking this because Flash Builder doesn't provide a true simulator, it lacks essential API functions such as NativeWindow.

    Hello,
    thanksk so far. I can now create an ANE, hopefully it is correct...
    Now, while trying to use it in my mobile application, calling the Constructor of my SWC interface > call initNativeExtension() I get an:
    Type Error #1009 cannot access a property or method of a null object reference
    It seems that my code cannot load the ANE because I cannot instatiate the extension object.
    Can you help me ?
    THX
    marco    

  • Application Is Running On A Version of Adobe AIR Which Is No Longer Supported?

    "This application is running on a version of Adobe AIR which is no longer supported. Please install the latest version of Adobe AIR from..."
    This is the message I get when I try opening an F4V. file. I never had this issue in the past. I tried going to the website to update my version of Adobe AIR, and it says I cannot, since it's already up-to-date. Any thoughts would be greatly appreciated.
    Thanks.

    Do you have access to the problematic machine? If so, maybe you could try to install Sysinternal's Process Monitor http://technet.microsoft.com/en-us/sysinternals/bb896645
    Run the tool, create filter to see just events containing your app name and try to find in the result any issue... you could also compare the log with same log from not problematic machine or with app made with older SDK which was working.
    That's all what I can do... it's a shame that nobody from Adobe is interested yet... maybe you could also submit a bug.

Maybe you are looking for