title: Why does my Label not have a textAlign property?
body: <p>I create a spark.components.Label, and I want to change the text alignment. The <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Label.html" rel="nofollow">api</a> states it has a property textAlign, but I get this error. What am I doing wrong?</p>
  
  <pre><code>import spark.components.Label;
  var mylabel:Label = new Label();
  mylabel.textAlign = "right";
  </code></pre>
  
  <blockquote>
    <p>Error: Access of possibly undefined property textAlign through a
    reference with static type spark.components:Label.</p>
  </blockquote>