Popup children in AIR

My application alters the dragProxy image for certain
components depending on the target the user drags over. I've gotten
this to work great within Flash Player -- in my dragOverHandle I
manipulate
event.dragInitiator.systemManager.popUpChildren.getChildAt(0).
BUT, in AIR, this doesn't work.
event.dragInitiator.systemManager.popUpChildren is empty. I gather
that AIR handles popUpChildren with an instance of
WindowedSystemManager, but I'm not sure how to obtain one. I tried
"var myWSM:WindowSystemManager = new
WindowSystemManager(event.dragInitiator)" but it didn't have any
popUpChildren either.
Help!

Question:  Does Adobe AIR expose the getsockopt() and setsockopt() calls on a socket?  It would be useful to apps to tune the io buffer sizes.
Additional Details:
RTT = 100+ milliseconds
TCP Window Scaling enabled
Secure Socket
Hard to reproduce with plain TCP socket, but occurs without fail with SecureSocket.  Not knowing the underlying code base, am wondering if it is because the SSL encryption overhead (bytes) throws off the buffer available size compution in secure_sock.flush() .
Thanks.

Similar Messages

  • Need help getting rid of Safari popups on Macbook air.

    Yesterday I chose to download some kind of program that was supposed to let me download content on a certain website - when I was getting ready to install the program there was a selection bubble I didn't see until the last second that said i would allow mackeeper to install on my computer. After seeing that i realised that the program was obviously no good and stopped the download as soon as possible but i fear it was too late.
    The first issue that I noticed was that Safari preferences won't let me open new tabs with my top sites anymore. I can select the option but as soon as I click out of preferences it seems to reset or something and just goes back to opening new tabs and windows with my homepage which is the apple website.
    I didn't notice any other issues after that that I can remember but last night I upgraded my system to the Yosemite software and as soon as it completed I noticed a HUGE increase in the amount of safari popups I get - like everytime I click on a link I get a new tab opening with ads from mackeeper2 or adcash or something like that and I'm also getting little popups that open on the webpage Im on. I tried downloading the adblock and javascript blocker extensions and Im getting the little notifications saying that its blocking about 5 popups per page i visit but its still doesn't stop the new tabs opening everytime I f***ing click on anything.
    Also I don't know if this is related but I haven't been able to log into my yahoo account either - i put in my password and it seems to let me in but then when i try to ask a question on yahoo answers it keeps asking me to log in again.

    Click here and follow the instructions, or if there’s a type of adware not covered by them on the computer, these ones. If you're willing to use a tool to remove it(you don't need to, but may find it easier), you can instead run Adware Medic; this link is a direct download.
    (122030)

  • Re-size Container Children when AIR App Re-sizes

    I have component panels witin a dataGroup. The dataGroup re-sizes when the AIR application is resized, but the panels do not re-size along with the dataGroup. I'm using TileLayout for the dataGroup. The goal is, of course, to fill the entire dataGroup container, regardless the size of the application. Application source is below. What happens is if I resize the application after the comPanelClick event, the panel containers do not re-size with the container.
    <?xml version="1.0" encoding="utf-8"?><s:WindowedApplication  xmlns:fx="http://ns.adobe.com/mxml/2009"xmlns:s="
    library://ns.adobe.com/flex/spark"xmlns:mx="
    library://ns.adobe.com/flex/mx"xmlns:components="
    components.*"width="
    1200" height="720" backgroundColor="#6D6666" creationComplete="maximize()">
     <fx:Declarations>
     <s:ArrayCollection id="panelsAC">
     <components:comInformation click="comPanelClick(event, 0);" id="pnlInformation" height="100%" width="100%"/>
     <components:comDocuments click="comPanelClick(event, 1);" id="pnlDocuments" height="100%" width="100%"/>
     <components:comCommunications click="comPanelClick(event, 2);" id="pnlCommunications" height="100%" width="100%"/>
     <components:comNotes click="comPanelClick(event, 3);" id="pnlNotes" height="100%" width="100%"/>
     </s:ArrayCollection>
     </fx:Declarations>
     <fx:Script>
    <![CDATA[
     private var tLayout:TileLayout = new TileLayout(); 
    private var selectedPanelId:String; 
    private function comPanelClick(event:MouseEvent, target:Number):void { 
    if (event.target.toString().indexOf('btnComShow') > 0) {selectedPanelId = panelsAC.getItemAt(target).id;
    panelsAC.getItemAt(target).currentState =
    'ViewState';panelsAC.filterFunction = panelACFilter;
    panelsAC.refresh();
    tLayout.horizontalGap = 10;
    tLayout.horizontalAlign =
    'center';tLayout.columnWidth = (grpContent.width - 20);
    tLayout.requestedColumnCount = 1;
    tLayout.requestedRowCount = 1;
    tLayout.verticalAlign =
    'middle';tLayout.rowHeight = (grpContent.height - 20);
    tLayout.verticalGap = 10;
    grpContent.layout = tLayout;
    else if (event.target.toString().indexOf('btnComHide') > 0) {panelsAC.getItemAt(0).currentState =
    'StartState';panelsAC.filterFunction =
    null;panelsAC.refresh();
    tLayout.horizontalGap = 10;
    tLayout.horizontalAlign =
    'center';tLayout.columnWidth = ((grpContent.width - 20) / 2);
    tLayout.requestedColumnCount = 2;
    tLayout.requestedRowCount = 2;
    tLayout.verticalAlign =
    'middle';tLayout.rowHeight = ((grpContent.height - 30) / 2);
    tLayout.verticalGap = 10;
    grpContent.layout = tLayout;
    private function panelACFilter(item:Object):Boolean { 
    return item.id == selectedPanelId;}
    ]]>
    </fx:Script>
     <s:DataGroup id="grpContent" left="20" right="20" top="50" bottom="135"contentBackgroundAlpha="
    1.0" contentBackgroundColor="#FFFFFF"dataProvider="
    {panelsAC}">
     <s:layout>
     <s:TileLayout horizontalAlign="center" horizontalGap="10" orientation="rows" columnWidth="{((grpContent.width - 20) / 2)}"requestedColumnCount="
    2" requestedRowCount="2" verticalAlign="middle" rowHeight="{((grpContent.height - 30) / 2)}"verticalGap="
    10" useVirtualLayout="true"/>
     </s:layout>
     </s:DataGroup></s:WindowedApplication>

    I just created a custom layout script to deal with it.
    package  
    scripts{
    import  
    import  
    import  
    public  
    override public function updateDisplayList(containerWidth:Number,containerHeight:Number):
    void{
    // The position for the current element 
    var x:Number = 0; 
    var y:Number = 0; 
    // loop through the elements 
    var layoutTarget:GroupBase = target; 
    var count:int = layoutTarget.numElements; 
    var element:ILayoutElement; 
    var elementWidth:Number; 
    var elementHeight:Number; 
    if (count == 1) {element = layoutTarget.getElementAt(0)
    element.setLayoutBoundsSize(NaN, NaN);
    elementHeight = (containerHeight - 10);
    elementWidth = (containerWidth - 10);
    element.setLayoutBoundsPosition(x, y);
    element.setLayoutBoundsSize(elementWidth, elementHeight);
    else { 
    for (var i:int = 0; i < count; i++){
    // get the current element, we're going to work with the 
    // ILayoutElement interfaceelement = layoutTarget.getElementAt(i);
    // Resize the element to its preferred size by passing 
    // NaN for the width and height constraintselement.setLayoutBoundsSize(NaN, NaN);
    // Find out the element's dimensions sizes. 
    // We do this after the element has been already resized 
    // to its preferred size.elementWidth = ((containerWidth - 30) / 3);
    elementHeight = ((containerHeight - 20) / 2);
    // Would the element fit on this line, or should we move 
    // to the next line? 
    if (x + elementWidth > containerWidth){
    // Start from the left sidex = 0;
    // Move down by elementHeight, we're assuming all  
    // elements are of equal heighty += elementHeight + 10;
    // Position the elementelement.setLayoutBoundsPosition(x, y);
    // Update the current position, add a gap of 10 element.setLayoutBoundsPosition(x, y);
    element.setLayoutBoundsSize(elementWidth, elementHeight);
    x += elementWidth + 10;
    } class PanelLayout extends LayoutBase{
      spark.layouts.supportClasses.LayoutBase;  spark.components.supportClasses.GroupBase; mx.core.ILayoutElement; 

  • Adobe Air Popup open from taskbar

    hello frndz
                     please me help out in creating a popup in Adobe Air open from taskbar after regular time interval.similar as we see on yahoomessenger or msn messenger.
    is there any way for this.?
    actually i m making a text chat messenger in Adobe Air and needed this demo for on on-air(live) and off -air users(offline)..
    Thanks and regards
         Vineet osho

    So basically you are talking about a small pop up window as in you see when your friends are online on yahoo/msn.
    If that's the case you can get the visible screen bounds &
    nativeWindow.x=screenBounds.width - nativewindow.width
    nativeWindow.y=screenBounds.height - nativewindow.height
    This should place the window at thebottom right corner of your screen (next to system tray)
    You can change the transparency/alpha of the window to have that fadeIn/fadeOut effect.
    Let me know if you were looking for something else.

  • Air File is Damaged

    Hi,
    Went to start Adobe Acrobat and it won't start, pops up with I need to update Air first. But when you click to update, an error is reported that "the air file is damaged."
    So I downloaded the latest Air from Adobe.com and ran install, no problems installing it. However, the error is still reported when starting Acrobat.
    So I used Windows Control Panel to uninstall Air, and reinstalled it, all went OK again.
    But Acrobat still won't start, the popup appears saying Air must be updated, followed by "the air file is damaged."  I also tried uninstalling then installing Air from the C:/programs/adobe folder since some others on boards say that worked. Didn't work for me.
    I've tried calling Adobe tech support, on the phone 1 hour waiting with no one answering, before I ran out of time and had to hang up. I tried calling a second time, and after anotherr hour of waiting, ran out of time again.
    I suspect the problem is due to a recent auto update from Adobe? My system was running fine on Windows 7 since last year, and there have been no real changes on my PC. It's just recently that Acrobat won't work. Adobe Media Player is running fine, and I know it uses AIR, so I suspect Air is working ok.
    I'm running CS4 Web Premium and Adobe Premiere Pro CS4 on Windows 7, no issues until this Air bug popped up. I do recall getting a recent Adobe auto-update though.
    Any suggestions on what to try next?
    Jonathan, developer
    AtlantaWebDesignGA.com

    After 5 months without an answer I no longer have any interest in it. Thanks anyway.

  • What's adobe air and adobe community help?

    I loaded 5.5 tonight and got a popup asking me if I'd like to install the new version of Adobe Air.  I said no thanks.  Then I clicked on the Help in 5.5, and it suggested I'd like to install a new version of Adobe Community Help.  I said okay, and then I got the popup for Adobe Air again.  When I canceled it, the upgrade to Adobe Community Help didn't complete properly.
    What's Adobe Air and what's Adobe Community Help?  What's the relationship between them?

    AIR is a runtime environment for running certain applications. The Adobe Community Help Client is an AIR application; it's a viewer for the Help documents.
    I prefer to not use the Community Help Client application. Instead, I use the HTML version of Help in my browser or the PDF version when I'm not online.
    There are direct links to the PDF and online HTML versions of the Help documents here.

  • How to Loop through App and finding popup Windows

    Does anyone know how to loop through the app and find any
    popup windows..

    I guess application by default creates a SystemManager
    object... So i used
    this.systemManager.popUpChildren.numChildren and it gives me
    0 all the time.. even though I have instances of windows to the
    app.. According to the documentation this should give you the
    number of popup children but it doesn't.. Any more ideas?

  • Issues with building for device testing on iPad and Network/USB debugging

    I recently upgraded to FB 4.7 and Air3.5 to use the much needed USB debugging (I was not having any luck connecting with network debugging in FB 4.5, with port forwarding...). I am on a Windows machine (but am able to have someone load the IPA on a device for me from a Mac via Xcode).
    Now, when I try to build a debug IPA for deployment on device, I get an invalid value error with the following InfoAdditions tag (same application file worked in FB 4.5).
    <InfoAdditions><![CDATA[
                                  <key>UIDeviceFamily</key>
                                  <array>
                                            <string>1</string>
                                            <string>2</string>
                                  </array>
                        ]]></InfoAdditions>
    Secondly, neither debugging method connects. I have FB with the "waiting to connect message" and the iOS device with a Popup "waiting for AIR to connect...", but they never do. Am I missing something? Do I need iTunes on the windows machine for FB to recognize iOS device or do I need to load IPA with special commands? Thanks! I see a lot of hacked ways to do this via command line, but this is supposed to be working in FB 4.7 now.

    Hi ,
    iTunes should be installed on the machine for the USB debugging on iOS to work. Once the application is installed on the iOS device , manually launch the application to make debugger connection.
    Please post the screenshot of the error message .
    Thanks,
    Sanjay

  • Popup in a Browser Air?

    Hello everyone!
    I develop a browser in AIR with Adobe Flash CS4! Everything is perfect, but I can not open the popup of the pages. How do I do this?
    my code:
    var html:HTMLLoader = new HTMLLoader();
    var urlReq:URLRequest = new URLRequest("http://page");
    html.width = 1024;
    html.height = 600;
    html.load(urlReq);
    web_mc.addChild(html);
    Thanks,

    You can look Kidoz a AIR browser app that targets children. You'll 
    probably make a custom browser to target an specific audience.
    Sincerely,
    Michael
    El 12/05/2009, a las 8:31, Saka Nurudeen <[email protected]> escribió:
    >
    Just want to know why to develop a browser in Air.
    Why not simply use navigateToURL  function ?
    >

  • I have a BTHub4 - My iMac, iPhone, and children's iPads all connect to the internet no problem. I cannot get my 2 MacBook Pros or my partners MacBook Air to connect. Have tried diagnostics - says to change DNS but  it is correct.

    I have a BTHub4 - My iMac, iPhone, and children's iPads all connect to the internet no problem. I cannot get my 2 MacBook Pros or my partners MacBook Air to connect. Have tried diagnostics - says to change DNS but  it is correct. I have re-set both router and all laptops - no joy. They can all see the network but cannot connect.

    This is extraordinary. I have moved the router and also tried resetting it to its factory strings.  We have had this router for over a year and all our devices have always worked. Now all four laptops will not connect to the internet. Only one oMac and our phones and iPad.
    I have had far more devices running at once before but now all laptops are timing out on connection. Some say this iIP address is already being used but if I manually set to a slightly different IP address it does not help, noir if I manually set to the correct IP address. Why would all our laptops (four) suddenly be unable to connect?

  • How to create a popup window to load HTML page in AIR application without using any mx or spark?

    How to create a popup window to load HTML page in AIR application without using any mx or spark components?
    I need to load the HTML page in popup in AIR application without using any of the <mx> or <spark> components. I need to open in the application itself not in the browser.(If we use navigateToURL() it will open in th browser)

    Can we achieve this? can somebody help me on this scenario..

  • AIR: allow scripted window.open popup windows for specified sites ?

    I'm adding desktop interaction to an existing webapp using AIR.
    The webapp allows portlets to be undocked into their own window using a scripted "window.open" call.
    When running the webapp in AIR, the "window.open" call is blocked (window ref returned is "undefined").
    Presumably AIR is detecting the invocation of "window.open" isn't directly linked to the mouse click event.
    With a "standard" browser, you can configure the popup blocker to allow popups for urls specified as Exceptions.
    Is there a way to do this in AIR ?  (either by config or by overriding one of the AIR classes).
    I've looked at using a custom HtmlHost but the popup blocking occurs before the HtmlHost.createWindow () call

    I couldn't find a way to customize the pop-up blocker in AIR.
    I tested the same thing with Safari 4.0.5 (AIR uses WebKit 4.0.3) and got the same result.
    After some testing I found that changing the Javascript to ensure that the event was bound to "onClick" fixed it (previously was bound to "onMouseDown")

  • Mac Ibook Air Adware Popup Issue

    I'm having a bad problem with adware popups.  Downloaded Adware Medic from my windows computer and added it to my air with a thumbdrive but when opening I get an error the following disk image couldn't be opened.  "Image not recognized"  Can anyone offer assistance?  It's my daughter computer and I'm only familiar with Ipads and Iphones.  Thanks Joe

    Written by Thomas Reed, a long time poster and the ‘expert’ on malware.
    Malware Guide – Adware – 10.6 and under
    Adware Medic is for 10.7 and above.

  • SWF Player in AIR -  not displaying window component and Popup ..?

    Hi Friends.....
    I have developed  SWF Player in AIR,but getting some error when swf playing....
    Popup or  window components are not displaying properly  when swf is playing ,
    please give me a solution to solve this....?
    i think swf playback taking high memory that why preventing new component creation ...right...?
    Thanks..

    Hi Jim,
    for application with application sandbox and for top-most html documents you could for example:
    <script type="text/javascript">
         function clicked()
              if(window.runtime)
                   var app = window.runtime.flash.desktop.NativeApplication.nativeApplication;
                   if(app) app.exit();
              return false;
    </script>
    <a href="#" onclick="clicked();">CLOSE</a>
    or even:
    if(window.nativeWindow)
         window.nativeWindow.close();
    I think this works without installing any additional javascript sources, see:
    http://livedocs.adobe.com/flex/3/html/help.html?content=AboutHTMLEnvironment_4.html
    kind regards,
    Peter

  • IPad Air no connection popups every time

    My iPad Air is frequently giving me a no connection or network required popup whenever I turn it on, and throughout usage whenever I switch to one app or another. Each app will have their own no connection popup or message. If I tap okay everything is fine and the internet works well. It doesn't seem to need to reconnect. Netflix streams without issue.

    Perform a reset by holding down the home button along with the power button until you see the Apple, then let go.

Maybe you are looking for