title: Setting the font name and size in AS3 List control (flash.controls.List)
body: <p>Using CS4, how do I set the font of a List control? I tried this:</p>
  
  <pre><code>        var myFormat:TextFormat = new TextFormat();
          myFormat.font = config.settings["list font name"];
          myFormat.size = Number(config.settings["list font size"]);
          list.setStyle("textFormat", myFormat);
  </code></pre>
  
  <p>No dice. </p>