Compiling with Flex 4.0 gives flash.desktop.NativeProcess could not be found

Hello!
I have an ActionScript only Flex project that was written by someone else.
I know it was compiled successfully for Air 2.0
I can compile this project using Flex Hero and with <application xmlns="http://ns.adobe.com/air/application/2.6"> - however, my air file will install only on windows (on mac i get a weird 'installation file is corrupt, contact the author' error message).
So now I want to compile it for Air 2.0 as it was originally written for. So i change the used Flex SDK from Hero to 4.0 and change the target air version to <application xmlns="http://ns.adobe.com/air/application/2.0"> - but then i get three compilation errors:
Description Resource Path Location Type
1061: Call to a possibly undefined method openWithDefaultApplication through a reference with static type flash.filesystem:File.
Description Resource Path Location Type
1172: Definition flash.desktop:NativeProcess could not be found.
Description Resource Path Location Type
1172: Definition flash.desktop:NativeProcessStartupInfo could not be found.
but I read that these features were introduced with AIR 2.0 - so how can't I compile if I change the SDK from Flex Hero to Flex 4.0?

Figured it out... Make sure your descriptor file has the following namespace definition!!
"http://ns.adobe.com/air/application/2.0beta"

Similar Messages

  • Error #1014: Class flash.desktop::NativeProcess could not be found.

    I just tried installing the new AIR 2.0 beta SDK according to the Release Notes. When i tried to create a simple application using the NativeProcess class, i got the following error:
    Error #1014: Class flash.desktop::NativeProcess could not be found.
    Any ideas?

    Figured it out... Make sure your descriptor file has the following namespace definition!!
    "http://ns.adobe.com/air/application/2.0beta"

  • [svn:bz-trunk] 19423: Fixes blz-604 BlazeDS samples error with "Error #1014 : Class flash.events::SoftKeyboardEvent could not be found."

    Revision: 19423
    Revision: 19423
    Author:   [email protected]
    Date:     2010-12-16 07:00:31 -0800 (Thu, 16 Dec 2010)
    Log Message:
    Fixes blz-604 BlazeDS samples error with "Error #1014: Class flash.events::SoftKeyboardEvent could not be found."
    Ticket Links:
        http://bugs.adobe.com/jira/browse/blz-604
    Modified Paths:
        blazeds/trunk/qa/resources/webtier/flex_sdk_4/flex-config.xml

  • My air app gives VerifyError: Error #1014: Class flash.events::SoftKeyboardEvent could not be found.

    Hi,
    I'm devlopping an air application, MacOSX 10.6.8, flex4.5.1 and air 2.6, suddenly the application will not start anymore, giving the following error:
    VerifyError: Error #1014: Class flash.events::SoftKeyboardEvent could not be found.
              at spark.automation.delegates.components.supportClasses::SparkSkinnableTextBaseAutomationImp l$/init()[E:\dev\4.5.1\frameworks\projects\automation_spark\src\spark\automation\delegates \components\supportClasses\SparkSkinnableTextBaseAutomationImpl.as:73]
              at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2821]
              at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2729]
              at flash.events::EventDispatcher/dispatchEventFunction()
              at flash.events::EventDispatcher/dispatchEvent()
              at mx.preloaders::Preloader/timerHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx \preloaders\Preloader.as:542]
              at flash.utils::Timer/_timerDispatch()
              at flash.utils::Timer/tick()
    A colleague with the same setup has no problems. Also when i create a new air project in flashbuilder it will not start either, but not throwing the error.
    Anyone with the same problems? Or anyone who knows what might be the cause?
    kind regards,
    Arjen Veneman

    Found the solution.  We had to add swf-version=11 in our flex config.  Odd that we should have to start doing that now all of a sudden (we weren't setting that explicitly before).  Seems like a bug in the SDK.

  • Error #1014: Class flash.media::MicrophoneEnhancedOptions could not be found.

    Hi,
    I'm trying to build a mobile app, that is using a webcam, text/audio chat. The web cam and the text chat is working fine with me, I even tried the whiteboard and it was working. Once I tried to add the Audio part I got this error:
              "Error #1014: Class flash.media::MicrophoneEnhancedOptions could not be found.
              at com.adobe.rtc.clientManagers::MicrophoneManager/get selectedMic()[/Users/smagee/flashfarm/connect/cocomomobile/src/com/adobe/rtc/clientManage rs/MicrophoneManager.as:169]...."
    I tried several swc file but still getting the same error. Any help or tips how to solve this issue?
    Is there a Mobile SDK version will be release soon?
    Many thanks
    Suha

    Hi, Suha
    As the release notes state, you must be compiling to AIR 2.7. I believe that
    the error you are seeing is a result of targeting AIR 2.6.
    Please see the instructions helpfully provided here:
    http://forums.adobe.com/message/3847495#3847495
    (also note that you must add the following to your Flex Compiler settings:
    -swf-version=12
    Thanks
    sasha

  • Class flash.events::SoftKeyboardEvent could not be found

    Hi
    Hope everyone is enjoying life.
    I’m creating my own plugin for InDesign. I’m using spark components in Adobe CS extension builder 2, flex sdk 4.5. It throws following error when my developed plugin runs in CS5.5 or lower:
    VerifyError: Error #1014: Class flash.events::SoftKeyboardEvent could not be found.
    This event seems to only been needed on components that use on-screen keyboards. In my case it throws this error on spark components "TextInput, List, ComboBox etc."  It runs fine with CS6.
    Does anybody have an idea to resolve this error?
    Thanks and best regards
    Sal

    What does new features mean here? The API provided in csaw_indesign.swc?
    Flex SDK 3.4 is just a compiler. All features of CS Extension Builder 2.0 are available. What are not available is the API provided in ${CSLIBS}\2.0\4.5\release\csaw_indesign.swc where is not provided in ${CSLIBS}\1.5\3.4\release\csaw_indesign.swc.
    To be compatible with lower version, you need to use the low version's *.swc libraries.

  • Using flex4.1, Flash Builder giving error "flash.filesystem::StorageVolume could not be found."

    Hi there,
              I'm trying to copy some files to Storage Card on a AIR application. Is this possible with the latest version of the AIR SDK (2.0)?
              I am developing in Flash Builder. I have downloaded the lastest flex sdk(4.1)  and used it.
              Flash Builder then recognises the StorageVolume and StorageVolumeInfo classes. However when I then run the app the debugger throws an error on the following line:
    LINE:
    var volumes:Vector.<StorageVolume> = StorageVolumeInfo.storageVolumeInfo.getStorageVolumes();
    Note: I have imported both classes as well.

    I'v read the article
    http://forums.adobe.com/message/2984004#2984004,
    and checked my application.xml, The content of the first two lines is:
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
    Error message from flash builder debug:
    typecheck Player/getLocalVideo()
      outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ spark.components.supportClasses::SkinnableComponent$ spark.components.supportClasses::SkinnableContainerBase$ spark.components::SkinnableContainer$ spark.components::Application$ spark.components::WindowedApplication$ Player$]
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      0:debugfile "D:\My Documents\Adobe Flash Builder 4\LiveVideoClient\OnSiteEnforceLawPublish\src;;Player.mxml"
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      2:debugline 20
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} ()
      4:getlocal0
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {} (Player[O])
      5:pushscope
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} ()
      6:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      7:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (String?[S])
      8:setlocal 5
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} ()
      10:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      11:coerce mx.collections::ArrayCollection
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] *[A] *[A] *[A] *[A] *[A]] {Player[O]} (mx.collections::ArrayCollection?[O])
      13:setlocal 6
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} ()
      15:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} (null[O])
      16:coerce flash.filesystem::File
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] *[A] *[A] *[A] *[A]] {Player[O]} (flash.filesystem::File?[O])
      18:setlocal 7
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} ()
      20:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} (null[O])
      21:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] *[A] *[A] *[A]] {Player[O]} (String?[S])
      22:setlocal 8
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} ()
      24:pushnull
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} (null[O])
      25:coerce_s
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] *[A] *[A]] {Player[O]} (String?[S])
      26:setlocal 9
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      28:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      33:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      38:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      43:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      48:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      53:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      58:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      63:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      68:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      73:debug
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      78:debugline 23
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} ()
      80:findpropstrict flash.filesystem::StorageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (Object[A])
      82:getproperty flash.filesystem::StorageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      84:getproperty storageVolumeInfo
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      86:callproperty getStorageVolumes 0
                           [Player[O] *[A] *[A] *[A] *[A] String?[S] mx.collections::ArrayCollection?[O] flash.filesystem::File?[O] String?[S] String?[S] *[A]] {Player[O]} (*[A])
      89:coerce __AS3__.vec::Vector
    VerifyError: Error #1014: Class flash.filesystem::StorageVolume could not be found.
    at Player/___Player_WindowedApplication1_windowComplete()[D:\My Documents\Adobe Flash Builder 4\LiveVideoClient\OnSiteEnforceLawPublish\src\Player.mxml:4]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.x\frameworks\projects\framework\src\mx\core \UIComponent.as:12528]
    at spark.components::WindowedApplication/enterFrameHandler()[E:\dev\4.x\frameworks\projects\ airspark\src\spark\components\WindowedApplication.as:2355]

  • VerifyError: Error #1014: Class flash.media::MicrophoneEnhancedOptions could not be found.

    Hi
    In the adobe help there is much talk about AEC and sample codes for AEC.
    I  have downloaded flex sdk 4.5 ,AIR SDK 2.6 which are most recent  builds.Installed Flash player 10.3 and AIR runtime 2.7 release  candidate.
    While using the following code for echo supression:
    var mic:Microphone = Microphone.getEnhancedMicrophone();
    mic  = Microphone.getEnhancedMicrophone(0);
    var options:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
    options.mode = MicrophoneEnhancedMode.FULL_DUPLEX;
    options.autoGain = false;
    options.echoPath = 128;
    options.nonLinearProcessing = true;
    mic.enhancedOptions = options;
    the following error occurs both in Web version as well as AIR version.
    I have included the playerglobal.swc in both the version of applications in the folder frameworks\libs\player\10.3
    In both case it is giving the following error:
    [SWF] AudioChatClient_1.swf - 2,683,701 bytes after decompression
    typecheck AudioChatClient_1/startPubishing()
       outer-scope = [global Object$ flash.events::EventDispatcher$  flash.display::DisplayObject$ flash.display::InteractiveObject$  flash.display::DisplayObjectContainer$ flash.display::Sprite$  mx.core::FlexSprite$ mx.core::UIComponent$  spark.components.supportClasses::SkinnableComponent$  spark.components.supportClasses::SkinnableContainerBase$  spark.components::SkinnableContainer$ spark.components::Application$  spark.components::WindowedApplication$ AudioChatClient_1$]
                           [AudioChatClient_1~[O] *[A] *[A]] {} ()
      0:debugfile "D:\ECLIPSE_WORKSPACE\FLASH_BUILDER\AudioChat\src;;AudioChatClient_1. mxml"
                           [AudioChatClient_1~[O] *[A] *[A]] {} ()
      2:debugline 54
                           [AudioChatClient_1~[O] *[A] *[A]] {} ()
      4:getlocal0
                           [AudioChatClient_1~[O] *[A] *[A]] {} (AudioChatClient_1~[O])
      5:pushscope
                           [AudioChatClient_1~[O] *[A] *[A]] {AudioChatClient_1~[O]} ()
      6:pushnull
                           [AudioChatClient_1~[O] *[A] *[A]] {AudioChatClient_1~[O]} (null[O])
      7:coerce flash.media::Microphone
                           [AudioChatClient_1~[O] *[A] *[A]] {AudioChatClient_1~[O]} (flash.media::Microphone[O])
      9:setlocal1
                           [AudioChatClient_1~[O] flash.media::Microphone[O] *[A]] {AudioChatClient_1~[O]} ()
      10:pushnull
                           [AudioChatClient_1~[O] flash.media::Microphone[O] *[A]] {AudioChatClient_1~[O]} (null[O])
      11:coerce flash.media::MicrophoneEnhancedOptions
    VerifyError: Error #1014: Class flash.media::MicrophoneEnhancedOptions could not be found.
        at AudioChatClient_1/__pub_btn_click()[D:\ECLIPSE_WORKSPACE\FLASH_BUILDE R\AudioChat\src\AudioChatClient_1.mxml:144]
    My system specifications are:
    OS: Microsoft Windows XP SP3
    Intel Core 2 duo Processor with 2 GB RAM
    Flash Builder 4.0
    If possible could you provide the information of AIR SDK 2.7
    Thanks
    Sudhansu Sekhar Rana

    Hi
    me to...
    While using the following code for echo supression:
    var options:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
    VerifyError: Error #1014: 无法找到类 flash.media::MicrophoneEnhancedOptions。
    OS: Microsoft Windows XP SP3
    Intel Core 2 duo Processor with 2 GB RAM
    Flash Builder 4.5
    Adobe Flash Player 10.3
    Adobe Flash Media Server 3.5.2
    10.3 playerglobal.swc
      If who have already solved the method, please point out bottom.
         Thanks
    QQ:52275313
    Email:[email protected]

  • Error #1014: Class flash.media::H264VideoStreamSettings could not be found

    Hi,
    I am developing application for recording the video in mp4 format with h.264 codec and I am able to record video in mp4 format with h.264 codec, but when I am compiling the Swf by "CTRL+Enter" at that time I am facing error "VerifyError: Error #1014: Class flash.media::H264VideoStreamSettings could not be found" and when I am publishing Swf by "ALT+Shift+F12" then I am not facing any error, so please suggest me that, what step I need to do for removing the error.
    Thanks
    Ram

    Hi,
    Check out here : http://www.adobe.com/support/flashplayer/downloads.html
    and the download the playerglobal.swc to target the 11.1 APIs
    then in Flash, do :
    1 - Go to Edit menu
    2 - Preferences (new window)
    3 - ActionScript category
    4 - At the bottom, ActionScript 3 Settings (new window)
    5 - At the bottom, Library path
    6 - Add a new path
    7 - Browse to the swc file that you'v download.
    That's all !
    Good luck,

  • VerifyError: Error #1014: Class flash.events::NativeWindowBoundsEvent could not be found.

    When I run project from FB 3, it works but on Double click on
    the .swf gives the error
    VerifyError: Error #1014: Class
    flash.events::NativeWindowBoundsEvent could not be found.
    What is problem and solution of it.
    Thanks

    We had a similar problem in my project.  Took a lot of research and trial and error, but we finally narrowed it down to the resource.properties file.  Turns out that if the file gets too big it causes this problem.  Extending the timeout doesn't help.  You have to break your resource.properties into more granular files to reduce the file size.  This seems to fix the problem.  We have had it happen several times since then and we know how to fix it, so we get it fixed pretty quickly.
    Not sure if this will fix your problem, but it fixed ours.

  • Error 1014: Class flash.filesystem::FileStream could not be found.

    VerifyError: Error #1014: Class flash.filesystem::FileStream
    could not be found.
    at [verify]
    at global$init()
    at _Wizardv2WatcherSetupUtil$/init()
    at mx.managers::SystemManager/private::docFrameHandler()
    at [execute-queued]
    This an AIR application, we I run it from Flex Builder works
    but if I launch the SWF alone doesnt work, How I can get the
    filestream to be included in my SWF.

    How are you launching the swf? To launch AIR applications you
    should use the adl command or install the release .air version of
    your AIR application.
    If the main file is called main.mxml, you should be having an
    xml file called main-app.xml
    The adl command takes the path to the xml file. So you should
    try:
    adl main-app.xml
    The adl command is available under the SDK bin directory.
    Thanks,
    Gaurav

  • Class flash.media::CameraRoll could not be found

    I'm working on an iOS app using AIR3.3 and Flash Professional. I've been editing class files in Flash Builder 4.6, but debugging in Flash Builder. Now I want to try profiling the app from FB, but when I try to do so, I get the error Main Thread (Suspended: VerifyError: Error #1014: Class flash.media::CameraRoll could not be found.)
    I'm guessing I need to link to a library or something, but I'm not sure what or how.   The application compiles and runs correctly from Flash Pro, and the CameraRoll functionality works fine when I publish the IPA from FP and run it on the device.

    Still wondering...

  • VerifyError: Error #1014: Class flash.display3D::Context3D could not be found.

    Weird. I have the Player Incubator installed (it shows up as "Incubator build" in the bottom left hand corner) in browser, for Flash Builder and for Flash 5. On all of these when I try to run, for example, this source...
    http://blog.kaourantin.net/?p=104&cpage=1#comment-2119
    ....I get error message:
    VerifyError: Error #1014: Class flash.display3D::Program3D could not be found.
    or
    VerifyError: Error #1014: Class flash.display3D::Context3D could not be found (on Away3D examples)
    It compiles fine, but the player doesn't seem to recognise the MoleHill classes.
    Any ideas?
    Thanks,
    Richard

    I ended up running into this issue as well so I wrote a sort of psuedo standalone debugger player. Works perfect, I posted it in a thread here:
    http://forums.adobe.com/thread/798002?tstart=0
    Theres a video tutorial and tons of more nfo on my blog post about it here:
    http://blog.ascensionsystems.ca/?p=147
    And I've also just released the source code for those interested:
    http://blog.ascensionsystems.ca/?p=153
    If you follow the instructions in my blog, you won't get this error anymore and will be able to run/test/debug your movies normally. Hope this is helpful! If you find it to be, tell people so my days' work isn't in vain! lol

  • Definition flash.media:StageWebView could not be found ?(help)

    how to fix Definition flash.media:StageWebView could not be found.using adobe flash cs5 v11

    Target one of those in the screenshot:

  • 1172: Definition flash.filesystem:File could not be found.

    I get the error 1172: Definition flash.filesystem:File could not be found. when i attempt to import File class or any other class from the package flash.filesystem. I already installed Adobe AIR but it still doesn't work.

    you're welcome.
    (been there and done that, too.)

Maybe you are looking for