"In Flash you embed fonts through the library or by setting a dynamic
textfield to embed a particular font."

Errr... thanks.  But how come my masks don't work when I use device
fonts ??? :-)

"In that case, wrong list:
http://tech.groups.yahoo.com/group/flexcoders/";

Actually, even though I'm using Flexbuilder as a compiler, I'm
definitely asking an Actionscript question.  I'm looking to do
something using Actionscript syntax and all of the available examples
employ Flex syntax.

"But I'm pretty sure google will return something useful when
searching for "AS3 Embed font metadata""

Actually, thank you.  That query returned the one example that
answered my question:
http://www.joangarnet.com/blog/?p=415

The thing I wasn't getting was that you need to directly associate
each embed statement with a variable.  That should have been obvious,
but wasn't.

       [Embed(systemFont="Arial",
              fontName="ari",
              mimeType='application/x-font')]
       public var f2:Class;

       [Embed(source="assets/ORG_V01_.ttf",
              fontName="myUnicodeRangeFont",
              mimeType='application/x-font',
              unicodeRange='U+0041-U+005A,U+0061-U+007A,U+00F1')]
       public var f3:Class;

Thanks,

Jim Kremens
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to