Application of AIR with signs in front of other windows tool

Hello. I use Flash CS6 on OSX and I'm working on a desktop AIR app. My application opens a local image file in a window, produced some calculations and shows the results of several panels. I want these panels will be like those on the CS applications, for example. They must always be on top of the image window. I tried to use the nativeWindow.NativeWindowInitOptions.owner to do this, but I can't get the right hierarchy. Any suggestions?

Thank you.

It works!

In this example, I use the main window with respect to the tool panels. The code comes from my document class.

It works!

In this example, I use the main window with respect to the tool panels. The code comes from my document class.

package {}

import flash.desktop.NativeApplication;

import flash.display.MovieClip;

import flash.display.NativeWindowInitOptions;

import flash.display.NativeWindowSystemChrome;

import flash.display.NativeWindowType;

import flash.display.NativeWindow;

import flash.events.Event;

import flash.geom.Rectangle;

public final class MainClass extends MovieClip {}

private var _mainApp:NativeApplication = NativeApplication.nativeApplication;

private var _mainWindow:NativeWindow;

public void MainClass() {}

_mainWindow = NativeApplication.nativeApplication.activeWindow;

_mainWindow.alwaysInFront = true;

_mainApp.addEventListener (Event.ACTIVATE, appActivated);

_mainApp.addEventListener (Event.DEACTIVATE, appDeactivated);

}

private void appActivated($event:Event):void {}

_mainWindow.alwaysInFront = true;

}

private void appDeactivated($event:Event):void {}

_mainWindow.alwaysInFront = false;

}}}

Hope this helps someone else.

Tags: Adobe Animate

Similar Questions

  • Open App World from within the application of AIR bypassing the browser opens a blank window?

    Hi all

    My question, as you can see in the title of this post is, you can open the App world app of in an AIR application without using navigateToUrl, which allows the browser to open first with an empty window.  In my application, I have now a button that opens the App World my app page so that users can post comments, or buy the version complete, but it seems a bit slopply how it works when you use navigateToUrl.  Is there another method for opening the app in App World?

    Thank you

    Use navigateToUrl (new URLRequest ("appworld://content/ [app_id_here]"));

    App playbook: Car accident 

  • Everytime I open my MacBook Air with OSLion a sign comes up saying that Firefox is downloaded from the internet. How can I get rid of this sign.

    Everytime I open my MacBook Air with OSLion a sign comes up saying that Firefox is downloaded from the internet. How can I get rid of this sign.

    Make sure that Firefox is installed correctly.

    Open the Firefox disk image (DMG) file and drag the Firefox program in the folder of the application on your hard drive.

    You should not double-click the Firefox application to run from the disk image and drag it out of the DMG file instead.

  • Cannot install LR 6 DVD on Macbook Air with OS 10.11.2.  Installation crashes and ejects the DVD at the end of 98%.  Long note that 'Adobe application manager quit unexpectely', restart.  DVD installed correctly on my IMAC.  That is what it is?

    Cannot install LR 6 DVD on Macbook Air with OS 10.11.2.  Installation crashes and ejects the DVD at the end of 98%.  Long note that 'Adobe application manager quit unexpectely', restart.  DVD installed correctly on my IMAC.  That is what it is?

    Copy the contents of the drive in a desktop folder and install from this directory.

  • AIRHelp of AIR application or integrate with AIR App launch?

    We are developing an AIR application and use Robohelp.  He previously used to generate FlashHelp, but find that browser integrated AIR applications support does not support this output.

    The AIRHelp seems to be the way to go, but you cannot launch external applications from AIR applications.  At least that's what I understand.  I wonder if another application AIR, or more precisely an AIRHelp application could be called somehow.  If so, how?

    If not, is it possible to get 'something' that generates Robohelp and fusion which, thanks to our application AIR to create an application with integrated help?

    Thank you.

    -Michael

    Hello

    As specified by other people here in the forum, it is certainly possible to call assistance from CSH AIR from any AIR application. Please see the forum post http://forums.adobe.com/message/2272289#2272289

    You must know your AIR application ID and the ID of the Publisher.

    Application ID is the one that was specified in the dialog AIR SSL in RoboHelp 8 AIR SSL dialog (ID help).

    The Publisher for an installed application ID can be found in the META-INF/AIR/publisherid file in the installation of the application directory. This the Publisher ID is generated using the digital certificate provided when generating assistance from AIR in the AIR SSL dialog box.

    Once the ID and the Publisher ID are known for the developer, it can call using the AIR using the following Flex code

    private void invocarAirHelp(tema:String):void {}
    var appID:String = "abc";
    var pubID:String = "ashfksdhfkjsdfk.1";
    var mgr:ProductManager = new Manager ("airappinstaller");
    Mgr.Launch ("-launch" + appID + "" + pubID + "-mapnumber csh - 1");

    }

    Hope that this explanation will help you.

    Thank you

    Praful jegou

  • Application of air stuck on iPad Air installation

    I have an application that is deployed ad hoc to a limited number of devices. Until recently, it worked perfectly, I can load the .ipa file into iTunes and just install.

    Recently, I bought a couple of new tunes ipad install, but when I try it gets stuck during the installation process and never finished.

    I thought that this could be a problem with the donkey or my code, so I made a dummy application, which doesn't always have a code and not ENA and it gets stuck on the installation point, the icon is on the screen of the iPad, but used in output and when I press on it, it says "Setup."

    I tried compile air using 14, 15 and 16

    I have all UDIDs added to my provisioning profile.

    It doesn't seem to be a problem with iOS 8, as it fits well on my older iPad3 which has been upgraded to iOS8.

    Any ideas?

    It seems that the poblem was in the signed certificate.

    Although one I used has not expired, the creation of a new and the compilation of the application, and provisioning profile with which seems to fix the problem.

    Its almost as if Apple changed something in their process needs to happen so that the correct functionality on the iPad 2s Air certificate signing.

    Andy

  • Application of AIR closes instantly at the opening

    Hi all

    I built and depolyed AIR apps before and never had any problems, but the app I'm working on right now really causing me trouble.

    I built the app in Flash Builder and exported using the 'Export Release Build' dialogue; I chose 'Package signed AIR', everything went well there. I installed the application to a directory on my desk, and no errors have been launched during the installation.

    Double click on the .exe file opens the window app momentarily, and then it closes instantly without errors or exceptions are thrown. I tried to open the SWF file that is included in the debug Flash Player, but it stops on an exception to this:

    VerifyError: Error #1014: class flash. events::NativeWindowBoundsEvent is not found.

    Which is all simply because I am using an AIR API call that is not taken in charge by Flash Player.

    I tried to use Process Monitor to see if errors occur when the application starts, but I can't really do all that much sense of what he reports. The only slightly suspicious entries were those with "NAME NOT FOUND" and "OPLOCK NOT GRANTED", but there was no included info that gave me ideas on what is causing the problem.

    Someone at - it ideas, I'm totally stuck.

    Hi Chris,

    Thanks a lot for your answer. I tried the thing you suggested, but strangely, no record of this name (in the other thread, you're connected to you) has existed before or after that the app crashed. I tried a few other things, such as the application of AIR through the ADL, to see if that would produce the error log that you describe.

    I got an error when using the ADL, "original content not found. I thought that maybe some of the assets are not loaded correctly, so I went through and put in loads of logging, using the SOS Max Logger. While doing this, I decided to remove a trace() statement I had, or rather modify so that it used the recorder. That's what I changed:

    Of this:

    trace ("Load progress:" + event.target.progress);

    To do this:

    Logger.Debug ("Load progress:" + event.target.progress);

    The event is a LoaderEvent, of the LoaderMax lib. After this change, the app worked after installation. I had to then back-track through all my changes to see what caused and found it was her.

    I am a little amazed as to why this has caused the problem. I still have other instructions trace() in there, that cause no problems at all. Apparently, you need the thing event.target.progress there that makes the difference.

    In any case, thanks for your help Chris.

  • Application of air using URLLoader w/HTTPS fails on some Win7 computers, but not others

    We have an Air (SDK 4.5) application, we are ready to deploy, but fails to connect via the HTTPS URL with error #2032 on some Win7 computers, but not others.

    For troubleshooting, I can reproduce the problem by using the example of app simple test given in the AS3 URLLoader documentaton.

    The problem is that when you run the application on some Win7 boxes, trying to connect to various servers via https and download a simple document, the request fails with "Error #2032".

    The version of the Air runtime is 3.0, and we have updated to 3.1 with the same result. The problem is related to the HTTPS only: the same URLS work fine with HTTP.

    Now for the fun: an application exact air works fine on another Win7 box, of the area of XP, OSX 10.6 and 10.7, pointing to the same URL HTTPS OSX.

    More fun: on Win7 boxes that in case of failure, it only fails with some https URL and not others, and URLS that fail with this Air app on these some win7 boxes work perfectly with the same air application on several others mentioned computers (XP, OSX and other win7).

    I know that #2032 Error is a very generic error "io" and could be the result of many things, but in this case, I did some research to isolate what could happen;

    on win7 boxes where the air application fails:

    If we point the air application on a virtual host on our setup of server apache with a self signed SSL certificate, the air application appears a sign saying the cert isn't trused, and if we click on 'continue', we get the error 2032 and a 0 http status code. Apache never logs on demand. This tells me that the application of air attempts to negotiate an SSL session with the apache server, but never succeeds.

    If we indicate the air even application a virtual host on the same configuration of Apache Web server with a REAL SSL cert, the air application never appears unreliable Panel, but still does not work, 2032 and the http status code returned 0.

    If we indicate the air even application a virtual host on the same server apache but HTTP instead of HTTPS, there is no failure and demand ends with an http 200 status code.

    Interestingly, if we note the same air application various other HTTPS URLS on different hosts, our servers and others on the internet that we know work, some fail the same way and some work very well.

    Now: If we run the same tests with the same air app, using the same URL HTTPS on other computers mentioned (XP, OSx and other win7), there is no failure and demand always ends well.

    Another finding: you could theorize that there is something wrong with those boxes of win7, but the HTTPS URLS that fail with the air app, nice job on these boxes in IE and Chrome, also the same test app compiled as a Flex application and executed in the browser on computers that fail to work fine with the same HTTPS URLS that fails and the application of air , for the air runtime of problems on some win7 boxes.

    It is a BIG problem for us, our Air application is a consumer application and will be widely deployed, and we cannot have it not be performed only on some computers and have no idea why.

    Any help would be apprechiated.

    Thank you

    Bob Reynolds

    Software engineer

    EDT

    PROBLEM SOLVED (mostly), however I end up with big problems in this...

    The problem was on the failure both Win7 boxes were sigficantly off the coast. Their synchronization solved the problem. I assume that others who have similar problems check the time on the computers/servers.

    This raises the question of why the AIR runtime cannot negotiate an SSL connection under this condition, but each browser we tested on those same computers could?

    I can buy that maybe the SSL protocol must by definition fail under these conditions, however for use by consumers, where it can not be controlled, the implementation must be loose to allow upward, and indeed all commercial browsers can negotiate SSL under these conditions connections (time synchronization offset) - ecommerce would be in trouble if consumers can probably not to connect to a service secured via Internet simply because the time is out of their computer.

    Can anyone in the Group Air address Adobe this concern on the use of AIR for applications of consumer under this condition where you can't rely on your application to install or run on who knows how many computers to consumers?  And to make things worse, AIR doesent provide revised, detailed error information so it is VERY tedious or impossible to even troubleshoot a comply with instructions like that--on the ground, it would be rather impossible.

    Thank you

    Bob Reynolds

  • How I check my Mac, applications are compatible with the Sierra?

    How can I ensure that my Mac, applications are compatible with Sierra FRONT update?

    I read that some applications may not work more on macOS Sierra abandoned because of the garbage man.  Only thing I found was to use the command terminal otool - oV Applications/PROGRAMMNAME.app/Contents/MacOS/PROGRAMMNAME | tail - 3 to verify an application but I'd have to type that in hundreds of applications - is not good.

    You can see http://roaringapps.com/apps?platform=osx.

    If you want to check your applications manually, you can run this AppleScript:

    paragraphs of the allApps value (the shell script ' find/Applications / - name \"*.app\ '-maxdepth 2 |" ") SED EI \"s/\\(.*\\)\\/\\([^\\/]*\\).app/\\2/g\" ")

    Set compatibleApps to {}

    Set incompatibleApps to {}

    Repeat with PAP in allApps

    set this to the script ' otool - oV "shell & city form of (' / Applications /" PAP ".app/Contents/MacOS/" & PAP) & "|" tail - 3"

    If this contains "OBJC_IMAGE_SUPPORTS_GC" then

    Copy at the end of incompatibleApps PAP

    on the other

    Copy at the end of compatibleApps PAP

    end if

    end repeat

    -If you want a dialog box to view the compatible/incompatible applications

    compatibleString the value «»

    incompatibleString the value «»

    Repeat with theItem in compatibleApps

    "the value compatibleString compatibleString & item &"

    "

    end repeat

    Repeat with theItem in incompatibleApps

    "the value incompatibleString incompatibleString & item &"

    "

    end repeat

    Tell me to display the dialog box "compatible apps:

    "& compatibleString

    Tell me to display the dialog box "incompatible apps:

    "& incompatibleString

  • Is it possible to connect my Application ' Stop' button with the "Run" button of LabVIEW?

    Problem - one of my clients recently tested my new LabVIEW application and asked how the arrested LabVIEW application can be restarted without clicking on the "Run" (right arrow) button.

    Is possible solution - possible to connect my Application ' Stop' button with the "Run" button of LabVIEW?

    Thank you!

    Barry

    The big problem is in your Acquistion to stop audio event. You run the LabVIEW stop sign which is the equivalent of hitting the Cancel button in the toolbar.  (See contextual help on that).  You can stop the acquisition, but you don't want to stop your LabVIEW program.  You need this case in the event your computer to transition state in a sleep mode when you do not make any purchase.  Then hit the purchase button to start again transitions the machine state in the acquisition.

    In your case of program output, you want really to leave LabVIEW it.  You want to run and stop commands like closing the com port and one of these activeX references.  Then allow it to stop the while loop.  Turn the LabVIEW out outside the loop so that once everything is cleaned, your application may close.  You probably want to wrap this command in a case structure so that if you are in the execution environment, it leaves your application.  But if you are in the development environment, you don't want to cause your LabVIEW environment stop.  Another thing is that right now, you actually have a race condition in the Exit event.  The com port will close first or LabVIEW will come out.  There is no defined order of execution.

    Alternatively, you can have an event to close panel? in this way, you haven't accidentally short circuit all your program by pressing the X key.  You want to capture this event, discard it.  And if you want to not actually closed, did trigger the Exit Program button so that you can gracefully shutdown.

  • The event log name: Application indicates problem with logon user account. How to fix?

    I am getting this caveat in my event log when I try (and fail) to connect to my guest user account. What security settings and/or part needs to be changed and replaced by what?

    Log name: Application
    Source: Microsoft-Windows-user profiles general
    Date: 23/04/2012 14:58:30
    Event ID: 1509
    Task category: no
    Level: WARNING
    Keywords:
    User: PeaVM4jic\Guest
    Computer: PeaVM4jic
    Description:
    Windows cannot copy file \\?\C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files\SQM\iesqmdata_setup0.sqm to the \\?\C:\Users\TEMP\AppData\Local\Microsoft\Windows\Temporary Internet Files\SQM\iesqmdata_setup0.sqm location. This error can be caused by network problems or insufficient security rights.

    DETAIL - access is denied.

    The event XML:
    http://schemas.Microsoft.com/win/2004/08/events/event">
     
       
        1509
        0
        3
        0
        0
        0 x 8000000000000000
       
        42220
       
       
        Application
        PeaVM4jic
       
     

     
        \\?\C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files\SQM\iesqmdata_setup0.sqm
        \\?\C:\Users\TEMP\AppData\Local\Microsoft\Windows\Temporary Internet Files\SQM\iesqmdata_setup0.sqm
        Access is denied.

     

    Later today

    The first sign of distress in my event log has been 01/04/12

    1515 error: "Windows has backed up this user's profile. Windows will automatically try to use the backup profile the next time that the user logs. »

    and 1511 error: "Windows cannot find the local profile and connects you with a temporary profile." Changes to this profile will be lost when you close the session. »

    What brought this?

    During this time, I was getting a rash of warnings of 1530 open handle.

    During my attempts to fix my account, I get the occasional errors of 1533: 'Windows cannot delete the directory [account]. This error can be caused by files in this directory that is used by another program.  DETAIL - the directory is not empty. »

    Are these signs of malware activity?

    There was also warnings of failure to notify events profile 1534, which could explain why I had no warning of this problem. These imply that the user profile Service does not work properly?

    I appreciate really all the efforts that you and others have invested in this. Thanks to you all.

    I was faced with two similar topics at the same time. The poster in this other thread seems to have solved his problem by the roundabout way to impose a UAC challenge. Maybe it will work for you also.
    Here are the steps:
    1. Create a new admin account.
    2. Log in under a non-administrator account.
    3. Try running msconfig.exe. You will face a challenge of UAC.
    4. Use the newly created admin account to respond to the challenge.
      This process will create the registry key and the profile for the admin account folder.
    5. Open a session under the new admin account. It should work.
    6. Downgrade the new admin account if you wish.
    Please let me know if it works!
  • the application of air cannot detect new extra camera

    I made an office air - env. the problem is when I disconnected my usb camera and start the application of air. the application detects the cameras didn't exist with Camera.names.length = 2; and then I pluged an another usb camera and use the Camera.names.length to detect the new camera, but the result is always 2, not the camera 2 existed with the new added that the total is 3. then I close the application of air and start it again, this time, the camera.names.length is 3. Why? the application of air just cannot detect new extra camera? the only way that the air application can detect new extra camera is to restart the application?

    Flash player air flow also does not detect camera added during execution. It can detect if you remove the camera while you were capturing images from the camera. You can try to scan for camera has a timer and see if it detects then.

    There is also a not so documented flash.media.scanHardware () method, which should force a hardware scan. I have not used yet, so can't vouch for it.

  • Application of air only works in the ADLS, not in Air 3.2/3.3

    Hi all

    I'm developing an application to talk to air with the help of FlashBuilder 4.6, 3.2 Air and Adobe Cirrus of file sharing.

    When I run my application in ADL, it works perfectly.

    But when I export it as a Release version and run it from 3.2 air, it won't work anymore:

    I use an ArrayCollection as a dataprovider collection, but binding to this ArrayCollection collection fails when running in the Air.

    I tried to send an event when I add an item to the collection ArrayCollection and manually update the dataprovider

    but the eventListener function is not started (but again, this code works when running in ADL).

    I am also having problems with NetStream.send () function.

    It does not seem to do anything when running in the Air.

    I disabled the firewall and ran it as an administrator, but without success. It works when running in ADL.

    I installed Air 3.3 beta, but it did not help either.

    Any ideas?

    Thank you!

    Jelle

    While studying another bug in my application (also with P2P connectivity), I discovered that NetStream.send () function does not work properly.

    The function is executed, but it never reached the connected peer.

    Again, this code has work when running adl.

    So I started to dig into the differences between the adl and Air:

    Apparently FlashBuilder 4.6 is by default based on the SDK 3.1 Air.

    I removed 3.3 Air from my system and replaced by Air 3.1.

    Now all my problems with binding collection ArrayCollection & NetStream.send () are solved!

    These bugs are already known? Or do I have to take them somewhere?

    Jelle

  • Can use the application Adobe Air Stratus?

    I have already built a flash app 10 flex who use p2p functionality, and everything works currently with stratus. Now, I want my app to run on Adobe Air, but it seems that p2p back do not work for Air.

    I can connect to the server stratus in application of Air, but after that, when I try to use NetConnection.nearID, an error saying:

    «ReferenceError: Error #1069: nearID property not found on flash.net.NetConnection and there is no default value.»

    I tried flex sdk 3.2 and 3.4 and none of these works, after that, I tried to package the application and install it on Air 1.5.3 and Air 2.0 beta, the same error occurs.

    Does anyone know how to fix this? Thanks for the help.

    Hello

    Yes, Stratus works well with AIR.

    P2P and multicast.

    If it compiles without error, try the debugger and make sure the NetConnection is real.

    Were there any changes since the swf version?

    If it was only none then check that the only things that are different, as the xxx - app.xml to ensure it is not AIR 1.0 or something.

    It is easy to take the AIR code, add the Global.swc and make a (second) / swf trial version.

  • is there a calendar/Agenda/personal finance for ubuntu application that syncs with my 2nd ace jelly bean 4.1 galaxy?

    an application that synchronizes with Android, mozilla or Ubuntu, and have remote access. My wife lives in 2 hours of road, so she can see my date and the family budget, status, and vice versa. is there such a beast?

    Well, you can use Google Calendar as a calendar. Just share with your wife, download the app on your android Google game shop, maybe there's an app for Ubuntu? Then just to bookmark in Firefox and TA - DAH! You have a synchronized calendar!

Maybe you are looking for

  • IPhone Bluetooth pair with car even when I do not have a call

    I recently started having a problem with my IPhone 4 s automatically picking up the sound system in cars, even if I did not call. This happens as soon as I turn on the car. When I press the keys on the phone I hear the click key in the car sound syst

  • I have 2 icons of Mozilla Firefox on my toolbar.

    Up to 24/09/2014, I used to have a Mozilla Firefox icon in my toolbar. After the 24/09/2014, when I click on one icon to open it, another icon of Mozilla Firefox appears and opens. Is it something new at Mozilla, and should I be worried? It seems tha

  • Motocast does not

    Hi all After the recent to ICS, I am facing problem, so that a phone connected to the computer. Motocast detects the phone, but it fails with the error "unlock the phone and then reconnect the cable" phone is already unlock mode, tried to reconnect t

  • Lollipop 5.0.2

    It's ok if I am updating mi bike g xt1069? I've heard of problems with the battery

  • MAKES ILLICIT INFORMATION ABOUT AVAILABILITY IN INDIA PRODUCT WARRANTY TO THE CUSTOMER OF LURE

    Of Chantal Bolduc Current email address: And found during thebuying laptop: Dated from: Sept.18.2010 Product: Dell Inspiron 17R TO Reference Dell. com Home and Home Office, Sales representative: PH no.8 1-879-3355 ext: Under: put-representation/put-g