How to execute adobe air app & pass argument from Flex ?

Helo everyone,
May i ask a question, How to execute adobe air app & pass argument from Flex ?
Thanks in advanced.
Jacky Ho.

Hello Jacky,
You can find an example here
http://spreadingfunkyness.com/passing-parameters-to-adobe-air-at-startup/

Similar Messages

  • How to get Adobe Air-apps to run *properly*? (Voddler ecpecially)

    First: I am running AMD64, and have installed the bin32-adob-air from AUR.
    The problem is, this does not work as it should. Air apps are never "installed" like they would be in Windows, or Ubuntu with the adobe-air from adobe installed. This causes problems with remembering configs and storing data between instances. Wimp, t.ex. will never remember my password, now matter how many times I check the remember password-box. And When running VOddler it just won't find the config file.
    I am trying to run Voddler in linux now, following this. But it won't work.
    I just get an "error reading config file" message when starting it using the adobe-air command (ie. the script from the package. Thinking the problem might be caused by the script running air apps from a temp dir, i aslo tried to run
    [gert@blad opt]$ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/VoddlerPlayer/META-INF/AIR/application.xml /opt/airapps/VoddlerPlayer
    after unpacking the Voddler Files there, but no luck.
    I see that there are a newer version of Voddler out now, and I will try that, but I'd appreciate any help with this spesific issue.
    Also, I would like to know if there is any way to get the "full Air experience" where you jut click-and go, and can install Air-apps the simple, proper way "everybody else" does it. Cause Air right now is a major hassle. Is there any chance of getting the Adobe-Air installer from Adoe work on Arch, or at least get a similar result? Integrated in the system, detected in the browser on  webpages etc.
    Last edited by naguz (2010-05-15 17:01:25)

    Tried again with the command taken from firefox appended to the script (instead of §1 §2 etc.) and got:
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    (adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
    Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: cannot open shared object file: Ingen slik fil eller filkatalog
    Error #2032
    http://api.voddler.com/vnet/index/login-token
    Parameter: version:2
    Parameter: token:3c034c484e3ed6217ec0b4b6a6cd01c9
    Response received
    http://api.voddler.com/vnet/index/pre-movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: crid:2721821284152752803
    Parameter: version:2
    Response received
    PreMovieResult: [object Object]
    movieID: 2721821284152452737
    MOVIEREQUEST: false movieModel.resumeTime: 0
    http://api.voddler.com/vnet/index/movie-request
    Parameter: movie:2721821284152452737
    Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
    Parameter: version:2
    Parameter: crid:2721821284152752803
    Parameter: resume:0
    Response received
    Adding to playlist url: 0p000001000_e000335_n0017_s0318_he3052b084510fe31419083eb165aa4bc_00000000000000000000000000000000_d59845ff23b2b6f22d3f3ee9020ab34af_t02
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 1000
    extra = "Token login result triggered"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2004
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    It errors out after the Voddler window has been "Rerwinding the tape"  for about 10 secs.
    EDIT: I moved my voddler folder to /opt/airapps so I could use your file without any edits to rule out typos.
    Now, the voddler player starts from firefox in wine. But I immediately also get the "Oops, we noticed you didn't watch the whole movie"-window pops out at the same time, and i get a similar error as above.
    DRM check...
    ReferenceError: Error #1069
    movieMetaDataReceived: 2008
    NetStream.Play.Reset
    NetStream.Play.Start
    Voddler.Open.Done
    Main movie metaData received
    DRM Fatal Error!
    Logg error
    (Object)#0
    clientCode = 30
    clientVersion = "3.10.1680"
    ctxId = ""
    errorCode = 7744
    extra = "General Error: 7744"
    os = "Linux"
    userId = "'2721821230480292729'"
    vnetVersion = "5522"
    ReferenceError: Error #1069
    I guess voddler cancels the DRM "lease" as soon as the error box pos up, giving me this question. Seems Firefox doesn't communicate properly with the air-app. Or something else I don't get. complete output from firefox run: pastebin
    Last edited by naguz (2011-01-11 22:32:16)

  • How to run Adobe Air App as Windows Service

    I am working on Adobe Air application. Everything about coding and configuration have been good so far but I have some major road blocks down the road:
    1. Schedule my application to run at certain time.
    2. Run the application in the System Tray like a Daemon app
    Does Adobe support for configuring the application to run in System Tray like a Gmail notifier app now? If it does, is it possible for me to have it configure for both Windows and Mac systems?
    If anyone has any pointers or tips, please feel free to let me know. Thanks in advance.

    Last night I got some time to try out your example from "Working with the dock and the system tray"
    It is really impressive to see how easy you can animate the icon on the taskbar, but it doesn't particularly achieve my goal to have a cross-platform taskbar app running.
    I tried to work with Java yesterday and got their Taskbar module working on both platforms. It solves the basic issue. But then I realize Java is missing the Webkits Adobe Air is offering. So I need two Apps in order to achieve the goal to re-use my web app on the desktop. Now I am considering to learn more about the extend feature you mentioned to let the Java application works like a remote control for the Air application's instances.
    So here are some of my current concerns: is it possible to be able to have input from java app into air application's elements? Does Adobe's intergrated runtime support incorporating Java as part of the app like it does with SWF and javascript? Or is there any bridge I can use to have the two applications communicate with one another?

  • How to fix sound delay in adobe air apps?

    I am working on this drummer game where the user has to repeat what he listens by tapping on the thouchscreen, but there´s a noticeable delay on Android and iOS. The same game I had it working fine on AS2 for PCs. I don´t know whats the problem in adobe air apps. I hoe someone can help me.

    Unfortunately, I do not own an iOS device and from my understanding, you have to have a developer account just to be able to test apps on your device, even if you have no intention of ever publishing something on the store. Correct me if Im wrong on that, but everything I have seen is that the only way to test apps without a developer account is to have a jailbroken device.
    I have been building an audiobook player on and off for a while now and tested it on a Galaxy Nexus, Nexus 4, and Nexus 5 in addition to my Moto X. None of those ever experienced any noticeable delays in playback. That is why I was wondering if it is a per device issue. Or it could be that I have just always used vanilla (or extremely close to it) Google Android devices. I understand that the devices I have tested with are most likely in a very low percentage of active devices used aside from the Moto X. I was basically just wanting to jump in to provide my notes on the issue, the device I tested with, and my experience.

  • Passing arguments from Air to Photoshop jsx script

    I would like to invoke JavaScript file in Photoshop from my Adobe Air application. I managed to call my script with the following code:
    // Create native startup info
    nativeProcessStartupInfo = new NativeProcessStartupInfo();
    nativeProcessStartupInfo.executable = filePhotoshop; // File referencing Photoshop exe
    // Create Vector array to pass arguments
    procarg = new Vector.<String>();
    procarg.push("start");
    procarg.push(jsFileToCall);// String with path to my jsx file
    procarg.push(scriptData); // String with argument to pass to jsx file
    nativeProcessStartupInfo.arguments = procarg;
    // Create native process object for calling  executable file
    process = new NativeProcess();
    // SET ERROR HANDLERS
    process.addEventListener(ProgressEvent.STANDARD_ERROR_DATA ,onError,false,0,true);
    process.addEventListener(IOErrorEvent.STANDARD_ERROR_IO_ERROR ,onError,false,0,true);
    process.addEventListener(IOErrorEvent.STANDARD_INPUT_IO_ERROR ,onError,false,0,true);
    process.addEventListener(IOErrorEvent.STANDARD_OUTPUT_IO_ERROR ,onError,false,0,true);
    process.addEventListener(ProgressEvent.STANDARD_ERROR_DATA ,onError,false,0,true);
    // CALL NATIVE PROCESS
    process.start(nativeProcessStartupInfo);
    The Photoshop app is started, my JavaScript is invoked, but the argument is not passed into jsx.
    Is there any method how to pass arguments to script in Photoshop? (I know that I can use the file to pass the parameters, but I do not like that solution.)
    Thanks in advance for any hint.
    Zdenek M

    The only documented way I know of is programming the script as a Photoshop Plug-in that has a dialog. Then record using the script in an action.  The script will record the arguments used in its dialog into the Photoshop Actions step.  Then when the action is used played the action recorded arguments are retrived and the script bypasses displaying its dialog. 
    However In CS3 I looked at Adobe Photoshop  Image Processor JavaScript it internaly used the Fit Image Plug-in Script and passed the width and hight to it. So it is posible to pass arguments from one JSX to an JSX Plug-in Script.
    From CS5 "Image Processor.jsx"
    // use the fit image automation plug-in to do this work for me
    function FitImage( inWidth, inHeight ) {
              if ( inWidth == undefined || inHeight == undefined ) {
                        alert( strWidthAndHeight );
                        return;
              var desc = new ActionDescriptor();
              var unitPixels = charIDToTypeID( '#Pxl' );
              desc.putUnitDouble( charIDToTypeID( 'Wdth' ), unitPixels, inWidth );
              desc.putUnitDouble( charIDToTypeID( 'Hght' ), unitPixels, inHeight );
              var runtimeEventID = stringIDToTypeID( "3caa3434-cb67-11d1-bc43-0060b0a13dc4" );
              executeAction( runtimeEventID, desc, DialogModes.NO );
    If You can write a file from Adobe Air you could also write the jsx file to pass the args you want to pass a to plug-in script via the ActionManager.

  • Error message when downloading adobe air app.

    I have according to the installation program successfully installed adobe air. I am now trying to download an adobe air app from Jacqui Lawson and keep getting the following message.
    "Sorry an error has occurred. The application could not be installed. Try installing it again. If the problem persists, contact the application author."
    I have read other comments regarding this matter and tried everything suggested so far. I am still having the same issue.
    I am running windows vista 32 bit. All firewall and anti virus are off, UAC is enabled, I have uninstalled and reinstalled the program and I have tried using a different browser. Can anyone suggest anything else to try.

    Curtis Baughman
    Many of us have encounted this issue. The problem is not confined to a particular version or computer operating. Many homemade remedies and scientific ones have worked for some and not others. The most recent fix was offered by an ID by the name of Maud Barbara and seems to have been the answer for that user and at least one more.
    Maud Barbara's fix can be found at the end of the very long thread on the subject found
    http://forums.adobe.com/thread/1121947?start=40&tstart=0
    The rough Google Translate went
    Hello 
    I had the same problem as you and I just d have the solution:
    go to C / program files (86) / common files/OOBE
    Rename OOBE by OLDOOBE
    and your problem is resolved
    You can reinstall the software
    What worked for me in this case was none of the above. How I and others navigated this installation problem is documented in the thread cited.
    We look forward to your results to see what turned out to work for you.
    Thanks.
    ATR

  • Adobe AIR Apps + Safari = Very slow

    Hi everybody,
    I'm experiencing a strange behaviour of my Adobe AIR Apps on iPad. I've tested several Apps now (one GPU-Heavy Game, one CPU-Blitting App, one pretty standard Puzzle) and all of them do have the same issue - as soon as Safari is running in the background it sometimes (not always.. and most likely on iPad1) slows my App down to 1fps. Until I close Safari again. I haven't ever seen any other App doing so, thus I believe it's an Adobe AIR bug. Maybe only on iPad though.
    Does anyone know why this happens or if I can get around of that? Besides my Apps run superfast.
    What I've tested so far is:
    - My memory usage is ~4mb. Doesn't seem to bother him if it's more or not
    - My GPU-Cache is held quite low (but even with empty GPU Cache this issue appears)
    - I'm using an Enter-Frame in all my apps which simulates the rendertick. Maybe this may be the fault?!
    Many thanks in advance,
    Marvin.

    Furthermore:
    - if the iPad was restarted you can have opened any iOS system-app without slowing down the Adobe AIR app
    - nevertheless after some hours this bug occurs again.
    Our game is in stores now: http://itunes.apple.com/us/app/ifunnel-frenzy-hd/id457822239?mt=8 and many people send us bugreports because of it. As soon as I'm telling them to close iOS system-apps things work superfine again.
    You can download and test this bug for yourself - I think this might be pretty self-explaining then.
    I'm a bit struggling how to solve this.. honestly.

  • Adobe air apps cannot be installed

    Hi,
    I have trouble with my PC to install any kind of adobe air app. When I start to install a Adobe air app, I get the UAC request and I confirm it but then the Adobe Air Application Installer.exe *32 is hanging and doing nothing.
    When I repeat the process another Adobe Air Application Installer.exe *32 instance is started.
    Here is my equipment and what I tried:
    Equipment:
    Windows 7 professional SP1 64 -Bit
    - Reinstalling Adobe air with Revo Uninstaller(cleaning registry) and installing it new with Admin rights.
    - Installing Adobe air in Windows XP Sp3 mode
    - Multiple apps were tried and when I start them with the SDK, they are working fine.
    - No information are available in the windows eventlogs
    Any idea  how to solve it or any possibility to start a debug tool to get more information?
    Thank you in advance for any input and help!
    Cheers,
    Dominik

    Hi Chris,
    I appreciate your support!
    Sadly the Microsoft Install and Uninstall Fix It tool does not work, adobe air is still hanging during the app installation.
    This is what I have done:
    1. Uninstall Adobe air with the Microsoft Tool
    2. Install Adobe air new
    3. Try to install the app SmartClient.air -> Did not work
    4. Try to install the app DesktopiPhone.air -> Did not work
    Now I have 4 Adobe air instance in the task manager(see screenshot)
    2* Adobe Air Installer
    2* Adobe Air Application Installer
    Here the install log file:
    [2012-09-25:08:54:39] Runtime Installer begin with version 3.4.0.2540 on Windows 7 x86
    [2012-09-25:08:54:39] Commandline is:
    [2012-09-25:08:54:39] No installed runtime detected
    [2012-09-25:08:54:41] Relaunching with elevation
    [2012-09-25:08:54:41] Launching subprocess with commandline c:\users\sd000037\appdata\local\temp\airb183.tmp\adobe air installer.exe -ei
    [2012-09-25:08:54:43] Runtime Installer begin with version 3.4.0.2540 on Windows 7 x86
    [2012-09-25:08:54:43] Commandline is: -stdio \\.\pipe\AIR_4324_0 -ei
    [2012-09-25:08:54:43] No installed runtime detected
    [2012-09-25:08:54:43] Starting silent runtime install. Installing runtime version 3.4.0.2540
    [2012-09-25:08:54:43] Installing msi at c:\users\sd000037\appdata\local\temp\airb183.tmp\setup.msi with guid {14DC0059-00F1-4F62-BD1A-AB23CD51A95E}
    [2012-09-25:08:54:45] Runtime Installer end with exit code 0
    [2012-09-25:08:54:45] Elevated install completed
    [2012-09-25:08:55:46] Application Installer begin with version 3.4.0.2540 on Windows XP x86
    [2012-09-25:08:55:46] Commandline is: "D:\Arbeit\SmartOffice\0.07.23 MAIN_10082012_001_BETA\SmartClient.air"
    [2012-09-25:08:55:46] Installed runtime (3.4.0.2540) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2012-09-25:08:57:27] Application Installer begin with version 3.4.0.2540 on Windows XP x86
    [2012-09-25:08:57:27] Commandline is: D:\Arbeit\SmartOffice\DesktopiPhone.air
    [2012-09-25:08:57:27] Installed runtime (3.4.0.2540) located at c:\Program Files (x86)\Common Files\Adobe AIR
    Thanks,
    Dominik

  • Displaying fb Friends in Adobe AIR app

    First off, I realize I'm completely in over my head here.
    I am a designer... not a programmer.  Sure, I've set up some "quizzes" on facebook... but nothing like what I'm trying to do here.  So, I'm hoping to get some quick and simple help from someone here.
    Anyway... here's my problem...
    I've made a fun little Adobe AIR app using Flash CS4.  When ran it makes your computer screen look like you're logging into the Umbrella Corporation from the Resident Evil franchise.  It has company data, surveillance cameras and other stuff.  It's totally for fun and doesn't "do" anything.  Just wanted to make an AIR app late one night and this is what I did.
    Now, however, I would like to make it so that you can login to your facebook account and then view a "database of Umbrella Employees"... which... in reality... would simply be a list of your facebook friends with pictures!  The descriptions of what they "do" could be randomly generated from a file or something... or it could be grabbed from some posts they've made or something.  But the friend pictures and names are really what I'm wanting to show.
    I have looked and looked all over for a simple "downloadable" example of this.  I've found some things, but everything is like reading an encyclopedia... and, like I said, I'm simply not that smart.
    Does anyone have a Flash CS4 .fla file that you could share with me to show me how to do this?
    I'm serious when I say I can't figure much out... so please include all library files and anything else I need to know (like upload this to your server here) and stuff.
    If you help, and I "release" this (obviously I can't make money on it) I'll put an Easter egg in for you with your profile or picture or whatever you like!
    Here's hoping for some help...
    Noel

    start here: http://code.google.com/p/facebook-actionscript-api/

  • No Adobe air app will run Only Flash Web browser....

    So I have re-installed Flash Builder So when I try and run a Adobe air app from the Flash Builder It brings up a prompt everytime saying - If the program is already running, close it before attempting to run. When I kill the Adobe Air debugger in the Task manager it pops up again saying If the program is already running, close it before attempting to run.
    After waiting a few moments from trying again I get a message: Unable to connect to the Application to fetch profile data. Please try profiling the application again.
    With Flash based - web browser apps - they run fine with no issue. How ever its only adobe air - desktop apps that run this way. This is the third time I have installed FB 4.5 on Windows 7 64 bit. last night it was all woprking fine I was able to debug my Flash Application and everything was working  - it has been doing this all day.

    I had the same issue suddenly today
    After hours of scratching my head - and just before re-installing FlashBuilder 4.5 - I found this suggestion
    I had an entry in the "mm.cfg" file:
    PreloadSWF=C:\Users\<USERNAME>\AppData\Roaming\Mozilla\Firefox\Profiles\9us94hs0.default\e xtensions\[email protected]\chrome\content\flashfirebug\flashfirebug.swf
    - I deleted the line and it now works
    ---- aaarrrrggghhh - wasted time
    thanks

  • Adobe Air App No Fonts [SOLVED]

    I installed lib32 adobe air and when I run my app I don't get any fonts. I just get square boxes. I read a few suggestion that are a little old, but am wondering if I am not setting a variable right or am missing something. I think from the error message that I am getting it is trying to read pango64 instead of pango32.
    (adl:7308): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
    How do I set it so adobe air apps look for the correct lib32 pango?
    Thanks
    Last edited by cu3edweb (2009-04-04 19:42:14)

    Nevermind I found this thread that did it.
    http://bbs.archlinux.org/viewtopic.php?id=35820

  • Adobe Air Apps connection

    Forgive the amateur nature of this question if the answer is
    readily out there.
    As an Adobe AIR apps user, how do Adobe Air applications
    connect to the internet and how can this be configured...I don't
    seem to see a readily apparent shell application with settings that
    can be modified. I ask because here (in my workplace) I have
    internet capabilities, but because I function behind a firewall,
    the connection isn't open to any app on any port.
    (I'm running on XP, incidentally)
    Thoughts? Direction?

    AIR applications use the networking support provided by the
    underlying OS. On XP, any required configuration is done via the
    Internet Options control panel. Assuming your machine already
    configured to access the internet, no additional configuration
    should be necessary.
    Oliver Goldman | Adobe AIR Engineering

  • License Keys for Adobe Air Apps

    Many software applications require the end user to input a valid license key before proceeding with the installation. I have yet to come across an Adobe AIR application that employs this mechanism.
    The question is how can i integrate such a mechanism into an adobe air app?

    Two options:
    a) Build a licensing verification scheme yourself
    b) Use a 3rd party tool, such as NitroLM or Sharify or Shibuya

  • Dmg/exe vs adobe air app

    Happy Holidays everyone,
    I tried publishing a dmg and I assume the exe behavior would be the same.  I couldn't find a way to include files that were linked via the Loader() method.  If I were to publish this as an adobe AIR app the settings give me an option to add a list of files either one by one or by adding a folder.
    So the question becomes how can I get loaded swf's to be included in my published dmg (Macintosh) / exe (Windows) application file?
    Sorry to disturb the forumists on Christmas eve.
    Thanks for any help.
    -markerline

    Thanks kglad.  I'll take that answer as official.  But it's not inexpensive software on top of what I paid for my CS upgrade.  Don't know why this functionality isn't included in Flash to begin with.  I guess Adobe wants you to use AIR.  We'll see if I can raise the cash out of  =air=  to purchase mProjector.

  • Adobe Air app for surface

    I have been told there is a free adobe Air app for my surface but I can't find the app and need it on my surface for my companys program, can I get a link or direction on how to find this app?
    My surface runs windows 8.1

    you can install adobe air on your win 8.1 device so you can then install and run air apps, http://get.adobe.com/air/

Maybe you are looking for

  • Looking for a Privacy App

    I am looking for an App that allows you to hide picture/video folders, and actually works. Any recommendations?

  • Reports are not showing correctly

    hi all, need a solution for this issue thanks

  • IMac G5;  Can I hook up Cable TV?

    My wife is using the iMac G5 and has a cable box in her room. She's using a small LCD TV but wants to run the cable into the G5. My instincts tell me no, but is this possible? Thanks, Chris

  • Lost link to FrameMaker Book

    I have my RoboHelp project with a linked FrameMaker book checked into a Mercurial source control repository. The original machine I was working with (XP) was starting to blue screen regularly, so I was given a new Windows 7 64 bit machine. Having clo

  • Can we limit the search count in Webcenter Imaging on the basis of user/grp

    Hi All I have a scenario wherein i want to limit the search count in Webcenter Imaging 11g on the basis of user and group. For e.g if administrator searches for documents it should return all the search result, whereas when a noraml business user sea