title: How to access NativeWindow's wrapper class (mx:Window) property from NativeWindow object
body: <p>Lets say I have Window component named myCustomWindow. Then I create new windows with:</p>
  
  <pre><code>var newWindow:myCustomWindow = new myCustomWindow();
  newWindow.open();
  </code></pre>
  
  <p>myCustomWindow has public property named myProperty.</p>
  
  <p>How to access myCustomWindow from NativeWindow?
  For example, how to do it in this loop:</p>
  
  <pre><code>for (var i:int = 0; i &lt; NativeApplication.nativeApplication.openedWindows.length; i++) 
  {
      if( NativeApplication.nativeApplication.openedWindows[i].myProperty == 25)
      {
            NativeApplication.nativeApplication.openedWindows[i].close();
      } 
      //error, cause NativeWindow doesn't have myProperty
      //how to access myCustomWindow.myProperty of this NativeWindow ?
  }
  </code></pre>