GGshow reloaded GGshow reloaded

January 19, 2011

Incompatible or damaged Adobe AIR.dll

Issue:

  • Unable to create an New Flex Project with Application Type = Desktop (runs in Adobe AIR).
  • Flash Builder program stop responding.
  • Found error below in Windows Event Viewer Application Logs.
    • Event 1000, Application Error
      Faulting application name: adl.exe, version: 1.5.3.9120, time stamp: 0x4b06f734
      Faulting module name: Adobe AIR.dll, version: 1.5.3.9120, time stamp: 0x4b06f6c8
      Exception code: 0xc0000005
      Fault offset: 0x000bf36a
      Faulting process id: 0x15f4
      Faulting application start time: 0x01cba0d1d86cb249
      Faulting application path: C:\Program Files\Adobe\Adobe Flash Builder 4\sdks4.0.0\bin\adl.exe
      Faulting module path: C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\runtimes\air\win\Adobe AIR\Versions\1.0\Adobe AIR.dll
      Report Id: 168bbf5f-0cc5-11e0-8667-80b5c7eac2c5

Reason:

  • Incompatible or damaged Adobe AIR.dll in Flex SDK bin folder.

Solution:

  1. Install the latest version of AIR runtime.
  2. Backup the old version of the Adobe AIR.dll file in Flex SDK bin folder.
    Usually the Flex SDK bin folder located in path below.
    %ProgramFiles%\Adobe\Adobe Flash Builder 4\sdks\4.0.0\bin
    e.g:

    • C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\bin
    • C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.0.0\bin
  3. Copy Adobe AIR.dll from
    C:\Program Files\Common Files\Adobe AIR\Versions\1.0
    and paste into
    C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\bin
Filed under: AIR,Flash Buider — Tags: , , — GG @ 1:13 pm

January 18, 2011

AIR 2 Namespace

Issue:
Error message below appear when running an AIR 2 application.
An ActionScript error has occurred:

  • VerifyError: Error #1014: Class IIMEClient could not be found.
    at flash.display::MovieClip/nextFrame()
    at mx.managers::SystemManager/deferredNextFrame()[E:dev4.0.0frameworksprojectsframeworksrcmxmanagersSystemManager.as:267]
    at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()[E:dev4.0.0frameworksprojectsframeworksrcmxmanagersSystemManager.as:2460]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()[E:dev4.0.0frameworksprojectsframeworksrcmxpreloadersPreloader.as:488]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    

Reason:
You must update your application descriptor file to the 2.0 namespace in order to access the new AIR 2 APIs and behavior. If your application does not require the new AIR 2 APIs and behavior, you are not required to update the namespace from 1.x based namespace.

Solution:
To update the namespace, change the xmlns attribute in your application descriptor to: http://ns.adobe.com/air/application/2.0

Open your application descriptor file (-app.xml), edit the 2nd line.

  • <application xmlns="http://ns.adobe.com/air/application/1.5.3">

Change the value for xmlns to http://ns.adobe.com/air/application/2.0

  • <application xmlns="http://ns.adobe.com/air/application/2.0">

Additional Information:
Adobe AIR 2 – Release notes for Adobe AIR developers

Filed under: AIR,Flash Buider — Tags: , — GG @ 7:41 pm

© 2024 GGSHOW | Powered by WordPress