The bug is here: > var newWindow:NativeWindow = new NativeWindow(options);
The solution is instead of create a new NativeWindow, I create a new Window.
The bug is here: > var newWindow:NativeWindow = new NativeWindow(options);
The solution is instead of create a new NativeWindow, I create a new Window.