Error using as3corelib in Adobe AIR application

I have created a new Adobe AIR application (HTML/JavaScript) in Aptana Studio.
To implement the password protected db, i am trying to implement the EncryptionKeyGenerator class from the swf file of as3corelib.
However, when i try to access it's functions, i get the following error
Value not a constructor. So i am not able to access the functions of the class.
Can anyone help me..?

Thanks 4 the reply...
I downloaded as3corelib library from http://code.google.com/p/as3corelib/downloads/list, extracted the library.swf file from the available as3corelib.swc file, included it to the lib tab of my application, renamed it as EncryptionKeyGenerator.swf and i've done the following:
<script type="application/x-shockwave-flash" src="lib/EncryptionKeyGenerator.swf"></script>
function init(){
var ekg;
if(window.runtime)
                    if(!ekg)ekg={};
                   ekg.EncryptionKeyGenerator=window.runtime.com.adobe.air.crypto.EncryptionKeyGenerator;//from a document over net
                    keyGenerator=new ekg.EncryptionKeyGenerator();
On running my application, it says Value not a constructor.
However, i downloaded a installer package, EncryptedDBHTML.air  over the net and when i used the EncryptionKeyGenerator.swf file from this package in my application, it worked. Now, the available codin used this:
                   ekg.EncryptionKeyGenerator=window.runtime.com.adobe.data.encryption.EncryptionKeyGenerato r;
I tried using the above package name, however i end up with the same error.
Any help is appreciated..

Similar Messages

  • What IDE do I use to develop Adobe AIR applications?

    You can leverage any existing IDE that you already use for Flash, Flex, or HTML/JavaScript development. Adobe AIR does not require a specific IDE; however, Adobe AIR is integrated into Adobe Creative Suite, Flash Professional, and Flash Builder (formerly known as Flex Builder).
    We also provide a set of command line tools that allow developers to test and package AIR applications from the command line. These tools can be found in the Adobe AIR SDK.
    Basically, you can use any tool that outputs SWF or HTML files.

    Here's one.
    The thunderbolt port doubles as a Mini DisplayPort.
    Mind you, it's just an adapter. You will need an HDMI cable to span the distance from the computer to the TV.

  • Adobe Air application installation using the bundled runtime installer

    Hello.
    We plan to develop application for different platforms with Adobe Air and testing installing Air applications with bundled runtime installer on different platforms. It's ok with Windows and Mac OS, but we got troubles with "silent" installation on Ubuntu OS 9.10.
    I tried to install Adobe Air application with bundled runtime, like in this document in part "Silent installation":
    http://help.adobe.com/en_US/air/redist/WS485a42d56cd19641-70d979a8124ef20a34b-8000.html
    using command-line:
    "sudo ./MyInstaller -silent simple-air-air-application-1.0-SNAPSHOT.air"
    and installation fails. Installation log looks like this:
    [setup:2306][INFO] Runtime Installer begin with version 2.6.0.19140 on Linux x86
    [setup:2306][INFO] Commandline is: -silent simple-air-air-1.0-SNAPSHOT.air
    [setup:2306][INFO] No installed runtime detected
    [setup:2306][INFO] Invoking Application Installer for combined install
    [setup:2306][INFO] Launching subprocess with commandline /tmp/air.QMrLZl/build/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer -runtime /tmp/air.QMrLZl/build/opt -silent -withRuntime -url file:///tmp/air.QMrLZl/simple-air-air-1.0-SNAPSHOT.air
    [setup:2306][ERR] Subprocess app installer failed (-1)
    [setup:2306][ERR] Runtime Installer end with exit code 7
    P.S. We tried do the same on Linux Mint 10. Everything's fine, application getting installed well.

    Thanks for the reply and solution MrSykes.
    I uninstalled adobe AIR and ran a file and registry cleaner to delete any left over files and installs.
    Then installed the v.15 Adobe AIR beta as recommended.
    The cleaners I used (ccleaner & jv16 power tools) did find some temporary install files and remnants of the Video Alchemy install.
    Tried the install again and still no installation window displays.
    I'm running Windows 7 on my PC and even changed the installation file compatibility to Windows XP service pack 2 to no avail.
    Funny that it installed fine on my notebook with Adobe AIR latest version running Windows 7.
    I'm watching task manager as I'm attempting the install and videoalchemy.exe has some cpu usage then drops to zero activity.
    Then Adobe AIR application Installer starts up then cycles to zero cpu activity.
    I'm stumped on this one :-(
    Thanks again for investing the time on my behalf.
    Regards
    Stephen

  • Adobe Air Application only works using Super Administrator account on Windows XP

    Good day
    i really need some help. I developed air application that uses remote service, sql lite etc. It is working on my computer WIndows XP sp2. To test, i even created a guest account and it works fine. But when i deployed it to our client, the application doest work. Only the login page appears. I ask the it personnel there and ask if there are any restriction on the account of the user and said there is none because they are using Domain account. But when the super administrator is logged in, it works
    Your help will greatly apprciated

    Your help me, I iwill greatly apprciated
    HELP MALAYSIA
    Date: Thu, 21 Oct 2010 20:54:19 -0600
    From: [email protected]
    To: [email protected]
    Subject: Adobe Air Application only works using Super Administrator account on Windows XP
    Good day
    i really need some help. I developed air application that uses remote service, sql lite etc. It is working on my computer WIndows XP sp2. To test, i even created a guest account and it works fine. But when i deployed it to our client, the application doest work. Only the login page appears. I ask the it personnel there and ask if there are any restriction on the account of the user and said there is none because they are using Domain account. But when the super administrator is logged in, it works
    Your help will greatly apprciated
    >

  • I start the computer the screen has blue vertical stripes and says that the Adobe Air application can not be found. Some of my programs don't run and say: You: Error access violation at 0x0055F525

    I start the computer the screen has blue vertical stripes and says that the Adobe Air application can not be found. Some of my programs don't run and say:
    You: Error access violation at 0x0055F525. I reinstalled Adobe Air. No change. I went to the Adobe webside and they said to repair it with a program. I bought RegCure. Didn't change anything. What to do?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • Live TV integration in Adobe AIR Application

    I have an adobe AIR application. I would like integrate live TV's on that. How it is possible? Please any one can help me...
    Thanks in advance.....

    Thanks 4 the reply...
    I downloaded as3corelib library from http://code.google.com/p/as3corelib/downloads/list, extracted the library.swf file from the available as3corelib.swc file, included it to the lib tab of my application, renamed it as EncryptionKeyGenerator.swf and i've done the following:
    <script type="application/x-shockwave-flash" src="lib/EncryptionKeyGenerator.swf"></script>
    function init(){
    var ekg;
    if(window.runtime)
                        if(!ekg)ekg={};
                       ekg.EncryptionKeyGenerator=window.runtime.com.adobe.air.crypto.EncryptionKeyGenerator;//from a document over net
                        keyGenerator=new ekg.EncryptionKeyGenerator();
    On running my application, it says Value not a constructor.
    However, i downloaded a installer package, EncryptedDBHTML.air  over the net and when i used the EncryptionKeyGenerator.swf file from this package in my application, it worked. Now, the available codin used this:
                       ekg.EncryptionKeyGenerator=window.runtime.com.adobe.data.encryption.EncryptionKeyGenerato r;
    I tried using the above package name, however i end up with the same error.
    Any help is appreciated..

  • "An error occurred while installing Adobe AIR"

    I am running Vista Home Premium SP1, and I keep getting the
    following error while trying to reinstall Air. After the install, I
    get a dialog box telling me Air installed successfully. When I
    click OK, I get a second box telling me: "An error occurred while
    installing Adobe AIR. Installation may not be allowed by your
    administrator. Please contact
    your administrator."
    This error has repeated itself time after time. Air had
    installed fine a while back, but programs using it began having
    problems with uprgrades, so I uninstalled them and uninstalled Air,
    then tried to reinstall Air.
    Here's the .airinstall.log file from the last install
    attempt:
    Performing runtime install
    UI SWF load is complete
    UI initialized
    starting user confirmation
    Installation type: new
    starting elevated install
    subinstaller: starting install
    subinstaller: Scheduling runtime installation operations
    subinstaller: Installed Product GUID: is same:false
    subinstaller: Beginning runtime installation
    subinstaller: Beginning install
    subinstaller: Installing
    c:\users\me\appdata\local\temp\air7233.tmp\setup.msi
    subinstaller: Execution complete; beginning commit phase
    subinstaller: Commit complete
    subinstaller: install complete
    Elevated install completed
    subinstaller: begin quitting
    Elevated install failed (3001)
    runtime install entering error state: [ErrorEvent
    type="error" bubbles=false cancelable=false eventPhase=2
    text="Error #3001" errorID=3001]
    begin quitting
    Any idea what's wrong?
    Thanks

    I am also getting an error. I first noticed it when trying to
    install the jott express application. I then tried installing Adobe
    air 1.1 standalone.
    Both logs are attached.
    Jott Log
    Starting app install of
    http://jott.com/jottexpress/jx.air
    UI SWF load is complete
    UI initialized
    Unpackaging to
    C:\WINDOWS\system32\config\systemprofile\TEMP\fla1DD.tmp
    unpackaging is complete
    application is bound to side-by-side version 1.0
    application is bound to this version of the runtime
    app id JottExpress
    pub id 50E28EE2422BD0599F081C2408B1BFDDBEFC6B6B.1
    application not currently installed
    Waiting for user confirmation
    User confirmed action: install
    creating native installer in:
    C:\WINDOWS\system32\config\systemprofile\TEMP\fla1DE.tmp
    native installer creation complete
    Starting install
    Destination for installed application is d:\Program Files
    Installed Product GUID: is same:false
    Scheduling uninstall of product guid
    {BB8B979E-E336-47E7-96BC-1031C1B94561}
    Beginning install
    Installing
    C:\WINDOWS\system32\config\SYSTEM~1\TEMP\AIR1D6.tmp\setup.msi
    Uninstalling product w/ GUID
    {BB8B979E-E336-47E7-96BC-1031C1B94561}
    Error occurred; beginning rollback: [ErrorEvent type="error"
    bubbles=false cancelable=false eventPhase=2 text="1612" errorID=0]
    Rolling back install of
    C:\WINDOWS\system32\config\SYSTEM~1\TEMP\AIR1D6.tmp\setup.msi
    Rollback due to error complete
    stateInstalling: [ErrorEvent type="error" bubbles=false
    cancelable=false eventPhase=2 text="1612" errorID=0]
    starting cleanup of temporary files
    application installer exiting
    Air Log
    erforming runtime install
    UI SWF load is complete
    UI initialized
    starting user confirmation
    Installation type: additionalNewest
    starting install
    Scheduling runtime installation operations
    Installed Product GUID: is same:false
    Scheduling uninstall of product guid
    {BB8B979E-E336-47E7-96BC-1031C1B94561}
    Beginning runtime installation
    Beginning install
    Installing
    c:\windows\system32\config\system~1\temp\air1f1.tmp\setup.msi
    Uninstalling product w/ GUID
    {BB8B979E-E336-47E7-96BC-1031C1B94561}
    Error occurred; beginning rollback: [ErrorEvent type="error"
    bubbles=false cancelable=false eventPhase=2 text="1612" errorID=0]
    Rolling back install of
    c:\windows\system32\config\system~1\temp\air1f1.tmp\setup.msi
    Rollback due to error complete
    error during install: [ErrorEvent type="error" bubbles=false
    cancelable=false eventPhase=2 text="1612" errorID=0]
    runtime install entering error state: [ErrorEvent
    type="error" bubbles=false cancelable=false eventPhase=2
    text="1612" errorID=0]
    begin quitting
    updater called with args:C:\Program Files\Common Files\Adobe
    AIR\Versions\1.0.6\Adobe AIR Updater.exe,-installupdatecheck

  • Adobe AIR Application won't install

    Also, tried reinistalling latest version of Adobe AIR but a message appears saying that the latest version of Adobe AIR is already installed, even though I thought I had unistalled it with the help of Microsoft Fix it (i.e. it no longer appeared in the least of programs installed on the computer).
    I am using a Samsung laptop with Windows 7.
    Following my latest attempt to install the application, I located the Adobe AIR log:
    [2013-11-29:20:21:14] Runtime Installer begin with version 3.9.0.1210 on Windows 7 x86
    [2013-11-29:20:21:14] Commandline is:
    [2013-11-29:20:21:14] Installed runtime (3.9.0.1210) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-11-29:20:21:18] Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
    [2013-11-29:20:21:18] Runtime Installer end with exit code 0
    [2013-11-29:20:21:37] Application Installer begin with version 3.9.0.1210 on Windows 7 x86
    [2013-11-29:20:21:37] Commandline is: "C:\Program Files (x86)\Mr Smooth\MrSmooth.1.0F.air"
    [2013-11-29:20:21:37] Installed runtime (3.9.0.1210) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-11-29:20:21:37] Got an unexpected fatal error while loading SWF: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="app:/Adobe AIR Application Installer.swf" errorID=0]
    [2013-11-29:20:21:58] Application Installer begin with version 3.9.0.1210 on Windows 7 x86
    [2013-11-29:20:21:58] Commandline is: "C:\Program Files (x86)\Mr Smooth\MrSmooth.1.0F.air"
    [2013-11-29:20:21:58] Installed runtime (3.9.0.1210) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-11-29:20:21:58] Got an unexpected fatal error while loading SWF: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="app:/Adobe AIR Application Installer.swf" errorID=0]
    [2013-11-29:20:22:03] Application Installer begin with version 3.9.0.1210 on Windows 7 x86
    [2013-11-29:20:22:03] Commandline is: "C:\Program Files (x86)\Mr Smooth\MrSmooth.1.0F.air"
    [2013-11-29:20:22:03] Installed runtime (3.9.0.1210) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2013-11-29:20:22:03] Got an unexpected fatal error while loading SWF: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="app:/Adobe AIR Application Installer.swf" errorID=0]

    Please note that I managed to resolve this myself by first of all deleting the Adobe AIR folder contained within C\Program Files (x86)\Common Files of my hard drive and then re-attempting the Adobe Air application installation. This immediately caused a prompting of an update to Adobe AIR, which I ran. It  seems that the Adobe AIR application installation package contained an older version of Adobe AIR than was already installed within the 'Common Files' folder, and this apparently led to the error (sorry, I cannot explain it any more technical terms than that!).

  • Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS

    Hi All,
    https://bugbase.adobe.com/index.cfm?event=bug&id=3071298
    As per above link this bug resolve(latest build) but i am facing  Java.lang.NullPointerException is thrown when packaging Adobe AIR application for iOS, using the packaging tools.
    (for  inappPurchase Demo app --- i used below link code)
    http://code.google.com/p/in-app-purchase-air-ios/
    Thanks,
    Sunil Rana

    Hi Everyone,
    I'm getting basically the same error. Are there any rules or guidelines that we are suppose follow when writing an app for iOS? Is there a way to know exactly where it is crashing? My apps are not MXML, only actionscript. Also I made sure I have no errors not even warnings in my SWF file, but still no go! 
    Getting the same error.
    Exception in thread "main" java.lang.NullPointerException
            at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
            at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
            at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
            at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
            at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
            at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler
    .java:472)
            at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
    Compilation failed while executing : ADT
    regards,
    Keith

  • 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    

  • Duplicate session error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with CF10

    We're getting the "duplicate session" error using Flash Remoting from Air 3.4 Mobile Apps ( IOS and Android ) with Coldfusion 10 Standard.
    faultCode:Server.Processing.DuplicateSessionDetected faultString:'Detected duplicate HTTP-based FlexSessions,
    generally due to the remote host disabling session cookies.
    Session cookies must be enabled to manage the client connection correctly.' faultDetail:'null'
    Have read most of the docs about this error -all to do with LCDS
    Notes:
    Not using LCDS,
    No Remote Calls from loaded Sub-Apps,
    No Errors from the Flex Web App which is pretty  much identical and calls the same cfcs.
    The error does not happen all the time and is hard to reproduce - say 5% of app sessions at a guess.
    Could it be a two first time remote calls hitting the server together before a session is set up?
    Our remoteObjects are in two places 1) Main Application.mxml and within a class compiled into the main app - can't see how this would be an issue.
    I enabled session management for the CFCs in Application.cfc but still occurs. Is this neccessary - it's not in any docs?
    Could this be something to do with the app not being shut down - as is typical with mobile users? When they resume use after a day or two surely a new session will be created?
    Please advise thank you.

    For our profect I think this issue was caused as follows:
    Believing that remoting was full asynchronous we fired a 2 or 3 remote calls to the server at the same time ( within the same function ) - usually when the users goes to a new section of the app.
    This seemed to trigger the duplicate http session error since according to http://blogs.adobe.com/lin/2011/05/duplication-session-error.html  two remote calls arriving before a session is created will cause 2 sessions to be created.
    Our current solution ( too early to say it works ) is to daisy chain the multiple calls together .
    Also there seemed to be an issue where mobile apps that never quit ( thanks Apple! )  caused the error when activated after a few hours.
    I guess the session expires on the server and the error above occurs on activation.
    So the mobile apps now ping the server with a remote call when activated after sleeping for more than one hour.
    All duplicate http errors are silently caught and reported.
    Fingers crossed we won't get any more!

  • All Adobe AIR Applications stopped function today, what happened?

    I'm running OS X 10.6.3, all of my Adobe AIR applications stopped functioning today.
    Here is a list of all the Adobe AIR applications that I use...
    http://imgur.com/CNXz5
    Now here is the error that each of them have been giving me as of today...
    http://imgur.com/8R2Nb
    http://imgur.com/sbgPL
    http://imgur.com/yFQng
    I have changed absolutely nothing with any of these apps, or Adobe AIR in a very long time... I actually haven't even installed anything to my knowledge in a few weeks.
    I have tried reinstalling all of these apps, reinstalling Adobe AIR... everything. I've tried everything.
    Can anyone assist me in figuring out what is wrong? Thanks in advance for any help.

    I just put those commands through terminal and here is what I got...
    Last login: Thu May 27 10:27:19 on console
    ChrisLaBontysMacbook:~ macbook$ cat /Applications/Utilities/Adobe\ AIR\ Application\ Installer.app/Contents/Info.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
      <dict>
        <key>CFBundleAllowMixedLocalizations</key>
        <true/>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>Adobe AIR Application Installer</string>
        <key>CFBundleGetInfoString</key>
        <string>Adobe AIR 1.5.3</string>
        <key>CFBundleIconFile</key>
        <string>Adobe AIR</string>
        <key>CFBundleIdentifier</key>
        <string>com.adobe.air.ApplicationInstaller</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleShortVersionString</key>
        <string>1.5.3</string>
        <key>CFBundleVersion</key>
        <string>1.5.3.9130</string>
        <key>LSBackgroundOnly</key>
        <true/>
        <key>LSMinimumSystemVersion</key>
        <string>10.4.9</string>
        <key>NSHumanReadableCopyright</key>
        <string>Copyright © 2007-2009 Adobe Systems Inc.</string>
        <key>CFBundleDocumentTypes</key>
        <array>
          <dict>
            <key>CFBundleTypeExtensions</key>
            <array>
              <string>air</string>
            </array>
            <key>CFBundleTypeIconFile</key>
            <string>Adobe AIR Installer Package.icns</string>
            <key>CFBundleTypeMIMETypes</key>
            <array>
              <string>application/vnd.adobe.air-application-installer-package+zip</string>
            </array>
            <key>CFBundleTypeName</key>
            <string>com.adobe.air.InstallerPackage</string>
            <key>CFBundleTypeRole</key>
            <string>Viewer</string>
          </dict>
        </array>
      </dict>
    </plist>ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$
    ChrisLaBontysMacbook:~ macbook$ head /Applications/RedditAddictLite.app/Contents/Resources/META-INF/AIR/application.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <application xmlns="http://ns.adobe.com/air/application/1.0">
      <filename>RedditAddictLite</filename>
      <description>For power redditors: Track your karma scores in real-time -- with graphs!</description>
      <customUpdateUI>false</customUpdateUI>
      <name>RedditAddict Lite</name>
      <id>com.tritelife.redditaddictlite</id>
      <version>1.0</version>
      <allowBrowserInvocation>true</allowBrowserInvocation>
      <initialWindow>
    ChrisLaBontysMacbook:~ macbook$

  • Deployment of an Adobe AIR application in an enterprise environment

    Dear Team members,
    first of all my apologies for posting this thread in more than one forum (see Installations Issues) but the argument is very important to us and I don't know where discuss it.
    I would like to post a question to you regarding deployment doubts that we are trying to address.
    My company is working on the new version of our primary application previously built as a J2EE application with some reporting functions with Flex, and we want to use AIR in order to leverage its possibilities:
    Seamless integration with existing application functionalities (implemented as standard JEE web application pages) thanks to the integrated HTML capabilities
    Improved integration of the user interface with the desktop
    Native processes to provide additional functionalities
    Our application is targeted to pharmaceutical industry, subject to FDA regulations, and it affects more than 5000 users for each customer, so we have some specific requirements affecting the deployment and distribution of the software:
    Allow to run multiple versions of the software on the same client machine (to support test and acceptance activities in addition to the production environment)
    Minimize the effort of the initial setup on each client
    Manage the version upgrades without manual activities on each client
    Keep the test/acceptance and production environments strictly aligned to improve effectiveness of formal validation (ideally, an application once validated should be transported in production without any source code modification, recompilation or repackaging)
    The current browser-based strategy is perfectly fit to these requirements, and in the shift towards a desktop-based strategy we need to continue satisfying them as much as possible. We evaluated the standard distribution strategy of Adobe AIR applications, and noticed several attention points in this scenario.
    The first issue we encountered is the back-end services endpoint discovery problem. Simply hardcoding a server URL in the packaged application could be a viable solution for public internet-accessible applications, but we need to support multiple customers in their intranet, and each one typically requires multiple environments for the application (acceptance, production, etc.). Maintaining dozens of different packages of the AIR application to support all these customer environments clearly is not the solution. Neither we want to force thousands of different users to enter and maintain the correct server location in their local preferences.
    So, we thought to use a badge hosted in the back-end application to run the local AIR application: using the underlying API, we could activate the application specifying also the network location of the back-end services. We could also rely on the badge to install the application (and the AIR runtime if necessary)… however, application packaged as native installers cannot be installed, upgraded, or launched by the badge API (and we need to package ours as native to use native processes).
    We also noticed that multiple versions of an AIR application cannot be installed side-by-side in a client machine, and that the installation and upgrade of the application can be performed only when the local user has administrative rights on the machine (using standard or native packages), forcing us to rely on external software distribution systems in some customer scenarios (introducing additional complexities in the release cycle).
    At this point, in our opinion the standard deployment strategies of Adobe AIR applications are unfit for enterprise environments. In the enterprise world, many of the applications have migrated to a completely browser-based solution, while others enhanced their client layer to comply with the requirements, for example installing only a thin portion of the client code and allowing to connect to multiple server versions/environments with it (e.g. the SAP GUI universal client). Without smarter deployment and distribution tools, AIR applications currently are a step back compared to web applications in terms of manageability.
    So, we are trying to develop a solution to address these problems, with some concepts similar to JStart: install on the client machine a launcher application capable of being activated from a web page, dynamically locate, download and run the actual client bytecode, transparently enforce client software updates, and supporting multiple applications (and multiple versions of the same application). However, we are facing many technical problems due to internal architecture of AIR and we already spent a considerable amount of effort trying to find a solution. We are now thinking to return on the choice of AIR, going back to Flex.
    What is the position of Adobe on this argument? Is Adobe aware of these issues and are there any plans on this topic? Any advice?
    Thank you in advance

    For those following along, Oliver Goldman will be answering this post in future articles on his blog.
    Many great comments and questions here. I’m working on some follow-up posts to address these; nothing I could cram into this comment field would really do your query justice. - Oliver Goldman
    Pursuit of Simplicity
    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/

  • Why do I receive error messages when installing Adobe air installation packages?

    I have Adobe Air Applications installed on my Dell XPS laptop but when i try and add new applications I get an error messaage that the installation file is corrupt.
    I am not convinced that this is the case, it is happening too often. I think that Adobe Air is the problem but Adobe seem oblivious and not offering any support.

    Thanks. I tried it and got the same error message. To me it's obvious that Adobe upgrades and programs have serious bugs in their install programs. I find this incredible from a company that creates such sophisticated programs and they cannot create install programs that actually work!!

Maybe you are looking for