Archive for the 'adobe air' Category

Closing NativeWindows in Adobe AIR

Sunday, August 12th, 2007

This one took me a while to figure out, but here’s how to close all those NativeWindows that you’ve opened in your Adobe AIR app using HTML and JavaScript:

window.htmlControl.stage.window.close();

Wire that up to a click event on an element in your app, and you’ll be able to close the native window. window.close() only works for HTML windows, not AIR’s NativeWindows, but the Flash (Flex?) API sitting behind AIR can be used for cleaning up.

Dragging Windows in Adobe AIR

Saturday, August 11th, 2007

Here’s how to do that.

technorati tags:

I'm Reading…
Search This Site
You are currently browsing the archives for the adobe air category.

AddThis Feed Button

Need great hosting?

Categories