CS5:NativeProcessStartupInfo could not be found

I made a sample.
package {
    import flash.desktop.DockIcon;
    import flash.desktop.SystemTrayIcon;
    import flash.display.Loader;
    import flash.net.URLLoader;
    import flash.display.NativeMenu;
    import flash.display.NativeMenuItem;
    import flash.display.MovieClip;
    import flash.desktop.NativeApplication;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    import flash.filesystem.File;
    import flash.desktop.NativeProcessStartupInfo;
    import flash.desktop.NativeProcess;
    public class helloAIR extends MovieClip
        private var file:File;
        private var nativeProcessStartupInfo:NativeProcessStartupInfo;
        public function helloAIR():void
            NativeApplication.nativeApplication.autoExit=false;
            var iconLoader:Loader = new Loader();
            var iconMenu:NativeMenu = new NativeMenu();
            var exitMenuItem:NativeMenuItem=iconMenu.addItem(new NativeMenuItem("Exit"));
            exitMenuItem.addEventListener(Event.SELECT, onSelectHandle);
            if (NativeApplication.supportsSystemTrayIcon)
                iconLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onIconLoaded);
                iconLoader.load(new URLRequest("test.png"));
                var sysIcon:SystemTrayIcon=NativeApplication.nativeApplication.icon as SystemTrayIcon;
                sysIcon.menu=iconMenu;
                sysIcon.tooltip = "AIR Application";
            btn_drag.addEventListener(MouseEvent.MOUSE_DOWN, runDrag);
            file = File.applicationDirectory;
            file = file.resolvePath("test");
            nativeProcessStartupInfo = new NativeProcessStartupInfo();
            nativeProcessStartupInfo.executable = file;
            btn_np.addEventListener(MouseEvent.CLICK, runTest);
        private function onSelectHandle(event:Event)
            NativeApplication.nativeApplication.icon.bitmaps=[];
            NativeApplication.nativeApplication.exit();
        private function onIconLoaded(evt:Event)
            NativeApplication.nativeApplication.icon.bitmaps=[evt.target.content.bitmapData];
        private function runDrag(event:MouseEvent):void
            stage.nativeWindow.startMove();
        private function runTest(event:MouseEvent):void
            var process = new NativeProcess();
            process.start(nativeProcessStartupInfo);
The flash cs5 outputed an error:
VerifyError: Error #1014: Class flash.desktop::NativeProcessStartupInfo could not be found.
Anyone knows what's wrong with it?And how to fix it?
Thanks!

Try adding
  <supportedProfiles>extendedDesktop</supportedProfiles>
to your application descriptor.
Thanks,
Chris Thilgen
AIR Engineering
NOTE: If you ever decide to create an installable application using this code  - please remember you will need to create a native installer using the new "-target native" option in ADT. NativeProcess is unavailable for applications packaged as a .AIR file.

Similar Messages

  • 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"

  • Ordinal 55 could not be found in the dynaminc link library iertutil.dll cs5.5 installation problem.

    Okay, so when i downloaded the trial version of Flash Professional CS5.5, the following popup "popped up".
    "The dynamic link library iertutil.dll could not be found. Reinstalling the application may solve this problem."
    So i went to a site that had helped me with this sort of thing before dll-files.com, and downloaded iertutil.dll, and placed it in my System32 folder.
    I pressed OK on the previous pop-up, only to be greeted with:
    "Ordinal 55 could not be found in the dynaminc link library iertutil.dll"
    Flash CS5.5 finished installing and works great, but the same Ordinal 55 popup pops up at least a hundred times a day, (It's even popping up as I write this) even when Flash isn't open
    I'm using Windows XP SP2, I have Internet Explorer 6 SP2 (though i usually use Google Chrome Instead)
    Thanks in advance...

    Hi Bansal,
    When does this error start to occur? Check Event Viewer and see if we could find any other messages.
    Take a try with the SFC command:
    Use the System File Checker tool to repair missing or corrupted system files
    Further, try the following if SFC won't help:
    How to repair or reinstall Internet Explorer in Windows
    Best regards
    Michael Shao
    TechNet Community Support

  • Photoshop Image Processor.jsx could not be found. CS5

    I like to use Bridge to export groups of photos and with past versions I've been able to select photos, go to Tools>Photoshop>Image Process and select one of my custom actions.  Now I get this error: Photoshop Image Processor.jsx could not be found.
    Any thoughts?
    Thanks

    By default the image processor script should be placed in the Application
    folder (on root level, not in the user
    account)/AdobePhotoshop/presets/scripts/ image Processor.jsx
    Also by default in Bridge preferences Start up Scripts Adobe Photoshop
    should have a checkmark in front of it.
    If you changed any of these there lies your fault, if it happened to fail
    out of the blue you first should try restart Bridge holding down option key
    and choose refresh preferences.
    First check if it works now and if it does again set preferences to your
    wishes. (obvious not deselecting the PS script... )
    Now I get this error: Photoshop Image Processor.jsx could not be found.

  • CS6 Design Standard Serial Number is valid, but a qualifying product could not be found...?

    I am attempting to reinstall CS6 Design Standard after a computer upgrade, however the Application Manager won't take my serial number.  In particular, when I enter the serial number, I receive the following error message:
    Serial Number you provided is valid, but a qualifying product could not be found on this computer.
    When I enter the serial number for one of the products that should be eligible for the upgrade, I receive the error message:
    This serial number is not for a qualifying product.  Please try another.
    I've attempted this on a couple of machines with the same result.  I've also attempted to install CS6 Design Standard after installing numerous other products: CS5 Design Premium, CS5 Design Standard, CS3 Design Standard... and none of these were found as qualifying products.
    I'm attempting this on OS X 10.9.3, on numerous MacBook Pro configurations from the past four years.  It is plugged into the network, and the connection is active.  I haven't seen anything in Console that is related.
    Is there someone from Adobe that I can contact to get verification of this Serial Number, and what product it would be attached to?
    Thanks,
    shane.

    The Serial Number you have is a upgrade Serial Number from a older version.
    So when you try to install, you have to insert the Serial Number for CS6 Design Standard and on the next screen, you need to choose the old product from drop down list and enter the Serial Number for that.
    It is not necessary to install the old application before installing CS6 Design Standard , all you need is the Serial Number for the old version.
    If still you have issue, you can contact the support as mentioned by Steve.
    http://helpx.adobe.com/contact.html

  • VerifyError: Error #1014 (class could not be found)

    I have a Flash Pro CS5 project that I have built some classes for in Flash Builder using some of the mx classes, like ArrayCollection and HTTPService. I have a Flash Project in my Flash Builder 4.0 pointing to the Flash Pro project. I started out by adding the Library Path to the Flex SDK 4.0.0 in my Flash project paths. Things seemed to work fine at first but now I am getting the following error:
    VerifyError: Error #1014: Class mx.collections::ArrayCollection could not be found
    If I change all my ArrayCollections to be just Arrays, then the same error just cascades down the list of "missing" mx classes, like HTTPService, etc. I individually added the the framework.swc, the rpc.swc and even the framework_rb.swc and rpc_rb.swc files to the paths but with the same error results.
    I'm trying to set up a relatively smooth workflow between Flash developers and Flex developers on my team but this is a huge roadblock.
    I have looked all over and not found a good solution for this problem. Can anyone help?
    Dana

    I figured out a solution. It had to do with conflicting or out of order library paths, I think. There were several paths to other projects in the project and Flash Pro global paths. I think some of them are automatically added by either the FP or the FB IDEs. When I removed all of the unnecessary paths, then it compiled just fine.

  • 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:

  • Qualifying product could not be found

    After a crash of my computer I try to reinstall all te programs. Dreamweaver CS6 however gives the following message:
    Serial number is valid, but a qualifying product could not be found.
    Do I have to install Dreamweaver CS5 first, or even an older previous version?
    Any idea?
    Wencel

    It should ask you for the serial number of a previous product. If it doesn't, you may need to run the Creative Suite Cleaner Tool and try again.
    Mylenium

  • StageWebView could not be found

    I found an example of stagewebview in help. I just put the code on the first frame. I'm getting an error saying flash.media.StageWebView could not be found. How do I use this?
    using Flash Pro CS5
    import flash.display.MovieClip;
    import flash.media.StageWebView;
    import flash.geom.Rectangle;
    import flash.events.KeyboardEvent;
    import flash.ui.Keyboard;
    import flash.desktop.NativeApplication;
    var webView:StageWebView = new StageWebView();
    function StageWebViewExample()
         webView.stage = this.stage;
         webView.viewPort = new Rectangle(0,0,stage.stageWidth,stage.stageHeight);
         webView.loadURL( "http://www.adobe.com" );
         stage.addEventListener( KeyboardEvent.KEY_DOWN, onKey );
    function onKey( event:KeyboardEvent ):void
         if (event.keyCode == Keyboard.BACK && webView.isHistoryBackEnabled)
              trace("Back.");
              webView.historyBack();
              event.preventDefault();
         if (event.keyCode == Keyboard.SEARCH && webView.isHistoryForwardEnabled)
              trace("Forward.");
              webView.historyForward();

    Thanks OMA2K,
    I put it in AIK2.7.1, and pointed the Actionscript library to it. It's found it, but the TwitterWidger thing doesn't want to do it as in for iPhone, so now at least I can experiment with it and hopefully get it working.
    I'm actually trying to get a really simple thing going here. only the Twitter auth bit is really a handfull.
    Pseudo code:
    app is running.
    user taps [send] button
    .... first time, user validates login to Twitter. this is stored so not necessary any successive time.
    ... pre-built message (tweet) is sent to twitter users timeline.
    return and wait till user presses [send] again
    I have another version of this TwitterWidger running on the iphone, which uses the PIN authorization method. However, when the web page opens to set and retrieve the authorization pin, the app closes, thus closing the page that is waiting for the pin to be entered.
    This second version, the PINLESS version - doesn't work at all. It actually just keeps looping.
    I'm beginning to think it just can't be done on the iPhone, which is a pain.
    both TwitterApp and TwitterWidget are from http://www.flashmobileblog.com/examples/
    thanks for the help. Much appreciated.

  • Could not save as (file name) because the file could not be found

    When i try saving sothing it comes up with could not save as (file name) because the file could not be found and need to save this file. i could save stuff before but not anymore if anyone could help i would be grateful
    im using photoshop cs5.1
    Thanks keiron

    We cannot know. These kinds of things are operating system errors with stuff getting blocked due to insufficient permissions, security tools interfering, network errors or whatever. Since you mentioned none of that, it's an "Ask your mom..." thing at this point, but if you provide more details, someone might be able to figure it out.
    Mylenium

  • Just downloaded Photoshop CS6 - 'Qualifying product could not be found on this computer.' HELP!

    Okay, title says it all. I just downloaded Photoshop CS6 (an upgrade from Photoshop CS3 Extended).
    I went to enter the Serial Number, and when I did, a box appeared telling me that the 'Serial Number you provided is valid, but a qualifying product could not be found on this computer'.
    It goes on to say: 'To use this serial number, you must own one of these qualifying products. Please choose the one you own and enter its serial number.'
    The drop-down list under products includes: Adobe Photoshop CS4, Adobe Photoshop CS5, Adobe Photoshop CS3 Extended,
    Adobe Photoshop CS4 Extended, Adobe Photoshop CS5 Extended, Adobe Photoshop CS6 Extended, and Adobe Photoshop CS3.
    Where is Adobe Photoshop CS6...???
    I am very concerned and would be very grateful to anyone who could help me with this problem.
    Thank you.

    Update: I decided to just re-enter the serial no. for Photoshop CS3 Extended and select the same option a couple more times, and suddenly it decided to work. To my great releif!
    The only thing I can conclude is that the system just needed a few minutes to update itself (perhaps Adobe was waiting for the payment to be released by the bank?).
    Either way, thank you very much for taking the time to respond to my queary, Mylenium.

  • Serial number you provided is valid, but a qualifying could not be found on this computer

    I want to install Encore from the Adobe CS6 Production Premium that I own but when I enter my password, it says "Serial number you provided is valid, but a qualifying could not be found on this computer". Another user had this problem but it was resolved privatly. How can I use my software?

    You are trying to install Production Premium CS6 upgrade version which is asking for previous version of this production.
    Fortunately you have the production premium CS5 full version also purchased & registered.
    You need to install that serial number ir resrespective of the fact whether it is installed on this system or not.
    You can get the serial number in your account of www.adobe.com.
    Regards
    Rajshree

  • SERIAL NUMBER YOU PROVIDED IS VALID BUT A QAULIFYING PRODUCT COULD NOT BE FOUND ON THIS COMPUTER

    I HAVE DOWNLOADED ACORBAT XI PRO AND WHEN I CLICK ON ICON ON MY DESK TOP THIS APPEARS
    SERIAL NUMBER YOU PROVIDED IS VALID BUT A QUALIFYING PRODUCT COULD NOT BE FOUND ON THIS COMPUTER
    HELP?

    Hi elizabethr49128712,
    Did you upgrade from a previous version of Acrobat?  The "qualifying product" is the older version that you owned before you purchased the upgrade.  It is what qualifies you to use the less expensive upgrade version. So you need to select the older version and provide its serial number to prove that you qualify for using the upgrade.
    Please see this document for more information:
    Error "This serial number is not for a qualifying product" | CS6, CS5.5, CS5
    Best,
    Sara

  • Serial number you provided is valid but qualifying product could not be found on this machine

    I have a qualifying product but am getting " serial number you provided is valid but qualifying product could not be found on this machine" when installing on my new macbook air--help?

    ashlie,
    If needed:
    Here are Adobe pages for downloading CS6, CS5, and CS4:
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html
    http://helpx.adobe.com/creative-suite/kb/cs4-product-downloads.html
    Adobe has started setting up a general set of pages for downloading (even) older versions (requiring  a licence) here:
    https://helpx.adobe.com/download-install.html
    http://www.adobe.com/downloads/other-downloads.html
    Until (even) older versions are added, this thread made by staff about downloading the old stuff, with its reference to the Prodesign Tools page is recommended (the last link goes back to CS3):
    http://forums.adobe.com/message/5418120#5418120
    http://prodesigntools.com/tag/ddl
    It is crucial to follow all the initial steps precisely.

  • 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.

Maybe you are looking for

  • Jdbc line chart in java studio creator 2

    Hi all, I'm developing a web application using JSC 2 update 1. I really need to insert a linegraph to display some data I get from jdbc(mysql). Is there a complib to add to my jsc to draw line graph?? if so, is there a step by step tutorial to get it

  • BAPI_PR_CREATE, Problem to send a message with mmpur_message_forced in BAdI

    Hi all, I have a problem with PR creation by BAPI_PR_CREATE. We use ECC 6.0. We have one non-character field in CI_EBANDB. I know, it isn't correct, but we have this field. And there is a BAdI to solve this problem: IF_EX_ME_BAPI_PR_CREATE_02~MAP2I_E

  • Js files in ADF

    hello , i create custom content presenter in ADF , the code is include js files : <af:resource type="javascript" source="http://www.continentalop.com.br/site/blocos/digital/includes/js/jquery.liquidcarousel.pack.js"/> <af:resource type="javascript" s

  • I've just completed my first montage in E11.

    Elements 11 now tells me the file size is too large to display in My Catalogue or to print from.  What do I do now?!

  • 8800 Silver - Broken display, want to enable bluet...

    I want to enable bluetooth on my 8800 but the display is broken. Can't see anything so navigation is a bit of a pain!! Can anyone help me with this? Which buttons I need te press (and how many times) to get to the right menu options. So far tried sev