title: this Keyword and static Methods - Flex
body: <p>The <code>this</code> keyword cannot be used in static methods. I am using static methods by design but also need to pop up a window with the method. Here is the code I have. I observed the <code>createPopUp</code> method of <code>PopUpManager</code> class and it needs a <code>DisplayObject</code> as a first argument. <code>this</code> is the <code>DisplayObject</code> but I did not get what is <code>DisplayObject</code> at that point. So how can I replace <code>this</code> to corresponding/correct <code>DisplayObject</code>?</p>
  
  <hr>
  
  <pre><code>public static function UniteDetayPopup(f:Function):void
  {
      var uniteler:UniteDetay = PopUpManager.createPopUp(this, UniteDetay, true) as UniteDetay;
      PopUpManager.centerPopUp(uniteler);
  }
  </code></pre>
  
  <hr>
  
  <p>edit:</p>
  
  <p>it is in a TitleWindow component and it pops up with other component.</p>