Digital God
8 Jun 2008, 11:39 PM
Hi all.
i'm currently using ExtJS 2.1 with Adobe Air. All works fine, but not the state manager.
i check the difference between ext-air.js in 2.1 and in 2.0.2
in 2.1 the code is
air.NativeApplication.nativeApplication.addEventListener('exiting', function(){
provider.saveState();
});
and in 2.0.2
var main = window.nativeWindow;
....
main.addEventListener(air.Event.CLOSING, function(){
provider.saveState();
});
why doesn't work air.NativeApplication envent 'exiting'? it doesn't fire..
i'm currently using ExtJS 2.1 with Adobe Air. All works fine, but not the state manager.
i check the difference between ext-air.js in 2.1 and in 2.0.2
in 2.1 the code is
air.NativeApplication.nativeApplication.addEventListener('exiting', function(){
provider.saveState();
});
and in 2.0.2
var main = window.nativeWindow;
....
main.addEventListener(air.Event.CLOSING, function(){
provider.saveState();
});
why doesn't work air.NativeApplication envent 'exiting'? it doesn't fire..