title: Line-height in actionscript stylesheets
body: <p>I'm having problems with figuring out the ability to use css stylesheets in actionscript.</p>
  
  <p>I'm trying to verticaly center text inside a textfield. I tried to use line-height but it doesn't do a thing. Does anyone know a solution to this?</p>
  
  <p>Here's my code:</p>
  
  <pre><code>var style:StyleSheet = new StyleSheet();
  style.parseCSS("a{color:#" + color + "; fontSize:" + fontSize + "; font-family: " + font + "; line-height: " + stageheight + "; text-align: center;}");
  </code></pre>
  
  <p>this is the link where i test my flash video:</p>
  
  <p><a href="http://www.stevevo.sin.khk.be/2SFlashGenerator/flashTest.php" rel="nofollow">http://www.stevevo.sin.khk.be/2SFlashGenerator/flashTest.php</a></p>
  
  <p>You'll notice that other property's like color, fontsize and font are adjustable so the stylesheet itself works fine only line-height doesnt work.</p>