views:

30

answers:

1

I'm using Adobe Air with a custom chrome and want to have a close button to close the window

I'm just starting out so I have no idea. I'm using HTML and javascript with Aptana Studio.

A: 
window.nativeWindow.close();

with jQuery

$('a').click(function(){
    window.nativeWindow.close();
});

More info

Ben Shelock