title: AS3: Setting default font, color, etc. of a TextField using the StyleManager class
body: <p>I'm trying to get StyleManager to have some effect, to no avail.</p>
  
  <pre><code>package {
    import flash.text.*;
    import flash.display.Sprite;
    import fl.managers.StyleManager;
  
    public class StyleManagerExample extends Sprite {
  
      public function StyleManagerExample():void {
  
        StyleManager.setComponentStyle(TextField, "selectable", false);
  
        var exampleTextField:TextField = new TextField();
        exampleTextField.text = "Something";
  
        addChild(exampleTextField);
  
      }
  
    }
  }
  </code></pre>
  
  <p>No value (eg. <code>selectable</code>, <code>color</code>, <code>textFormat</code>, etc., using <code>setStyle</code>, <code>setComponentStyle</code> or otherwise) seems to have any effect on the outcome.</p>
  
  <p>What am I missing?</p>