5 Replies Latest reply on Mar 12, 2009 9:44 AM by tzeng

    AIR app hangs with multiple windows

      I reported this in the bug system but thought I would ask/tell here too. Using this simple sample AIR application, you can easily hang your app:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:WindowedApplication xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute">

      import mx.core.Window;
      public var wlist:Array = [];

      private function onCWClick( event:MouseEvent ):void
      var wt:Window = new Window();
      wt.width = 50;
      wt.height = 50;
      <mx:HSlider x="160" y="264"/>
      <mx:Button x="143" y="142" label="Create Window" click="onCWClick(event)"/>

      Click the Create Window and then try to move the slider. Do this a few times and before long, the app hangs. This is a problem for our AIR app, as we can have several windows up at the same time. Any ideas on a workaround?