title: Register Font for Multiple .AS Files
body: <p>I'm embedding a few fonts in my ActionScript file as follows:</p>
  
  <pre><code>[Embed(source="DAXCOMPL.TTF", fontName="DaxCompact-Light", mimeType='application/x-font', embedAsCFF='false')]
  private var MyFont:Class;
  </code></pre>
  
  <p>This is done in the main <code>Canvas</code> that is placed by the mxml. This canvas creates several smaller canvases and places them as children. I have each of these sub-canvases split up into a separate .as file for ease of use. The problem I'm running into is that I would like to use this font in these .as files without having to pass it around. Is it possible to somehow register the font globally?</p>