0 Replies Latest reply on Feb 26, 2008 3:21 AM by nsDevaraj

    AIR Popup

    nsDevaraj
      Native window popup on AIR requires this tweak for adding any element

      var options:NativeWindowInitOptions = new NativeWindowInitOptions();
      var UWindow:NativeWindow = new NativeWindow(options)
      UWindow.visible = true;
      mx.core.Application.application.addChild(txtArea);
      mx.core.Application.application.removeChild(txtArea);
      UWindow.stage.addChild(txtArea);