Hi,

I'd like to open new native window from an existing AIR application.
My application opens an Ext.air.Window, where on button click, I'd like to open new Ext.air.Window (from existing window).

Can this be done?

Here's a ssnippet of my code:

PHP Code:
new Ext.Panel({
            
title'Vnos dela',
            
borderfalse,
            
tbar: [{
                
text'Story Board',
                
handler: function() {
                    
                    var 
iterationUuid 'last';
                    
                    var 
storyboardStore = new Ext.data.JsonStore({
                        
autoDestroytrue,
                        
url'projects/iteration/' iterationUuid '/storyboard',
                        
storeId'myStoryBoardStore',
                        
root'data',
                        
idProperty'uuid',
                        
fields: ['uuid''title', {name:'dueDate'type:'date'}]
                    });
                    
                    if (
iterationUuidstoryboardStore.load();
                    
                    var 
win = new Ext.air.Window({
                        
winwindow.nativeWindow// use root window's context
                        
minimizeToTraytrue,
                        
width680,
                        
height460,
                        
items: [{
                            
xtype'StoryBoardPanel',
                            
storestoryboardStore
                        
}]
                    });
                    
win.show();
                },
                
scopethis
            
}],
            
html'<empty panel>',
            
cls:'empty'
        
});