Invoking the Flex Compiler via Native Process API in AIR 2.0

AIR 2.0 comes with the ability to interact with native processes. This means we can launch a process from the AIR application and communicate with its standard input/output. However, applications using the native process api must be packaged into native installer. Therefore, you must compile it separately in Windows, Mac and Linux to get 3 files as compared with 1 AIR file for all platforms.Working the Native Process API is fairly easy. All the operations are performed using the NativeProcess class. To start a native process, you have to call the start method. The parameter passed to the start method

You Might Also Like...

  • Quickly Build Native Installers for Adobe AIR 2

    3149 readersAdobe platform evangelist Serge Jespers released on his blog a valuable AIR 2 "alpha" application that allows you to quickly build native application installers for your AIR 2 applications. Native installers are required if you are building an AIR 2 application that takes advantage of the new extensibility options available from the native process

  • Binding improvement

    465 readersSince Flex 2, the Adobe Flex sdk's contain a class named BindingManager, unfortunataly it's not documented in the released ASDoc, but this class it's really helpfull to us to manage and debug all kind of binding inside our applications. BindingManager.debugBinding: Using the static method provided by the manager you will enable the debug for the

  • :)

    AIR 2.0 and the Enterprise

    2615 readersAIR 2.0 is out and that's just a fantastic news for Enterprise developers. Discover how the new Native Process API and the UDP sockets will extend your existing Rich Internet Applications.

  • New Two-Part Tutorial On AIR 2.0 NativeProcess

    887 readersI recently uploaded a two-part tutorial that explains how to use the new NativeProcess API in Adobe AIR 2.0. With this API you can communicate with native code to get deeper access to the host operating system. In the first part, I create a command-line screenshot application using Visual Studio and C#. In part two,

  • Loading and using XML data in AS3

    1375 readersIf you want to organize your external content to make it easy to understand, process and update, using a XML file is a good choice. While there are similarities with AS2, the cool new features make working with XML files a lot easier....

  • Loading and using XML data in AS3

    97 readersIf you want to organize your external content to make it easy to understand, process and update, using a XML file is a good choice. While there are similarities with AS2, the cool new features make working with XML files a lot easier.

  • LCDS: Update managed class

    303 readersLiveCycle control managed object [Managed] to basic operations CRUD with tag autoCommit. It can control the same process using Assembler methods with flex DataService (createItem, deleteItem, commit). Updating process use commit without any responder: public function updateItem(item:myManagedClass):void { service.commit(); //var call:AsyncToken = service.commit(); // Don't use it //call.addResponder(responder); // Don't use [...]

  • View Demo

    Create a Custom Animated Cursor for your Flex app

    996 readers

  • MP3 Player Tutorial

    Create An Old-School MP3 Player in Flash CS4

    1410 readersLearn how to create and publish a simple, old-school MP3 player using Flash CS4 and ActionScript 3.0.

  • (Officially) Announcing Azoth [at version 1.02]

    333 readers"Azoth is a free 'Alchemy Opcodes Injector', a Windows console (Win32 command-line) application, for AS3 Flash programming, that lets you replace method calls to a certain AS3 class (included with Azoth) with equivalent Alchemy opcodes in a SWF file. This...

'>How to create a top quality logo for your company
  • Remove a Section of Your Photo
  • Subscribe to RSS headline updates from: GurusUnleashed
    Powered by FeedBurner

  • Design & Career Resources

    Open design job and RFQ/RFP listings for Thursday, 29 July Courtesy of Design Jobs Live!
    The latest resources and free stuff (like textures, fonts, Photoshop brushes, scripts, plug-ins, and much more!) from workflowFreelance.com. Read more!
    The latest headlines from workflowFreelance.com. Read more!
  • Popular Search Terms

    Curious what others are searching for? Below are the most popular search terms over the last 30 days.