Hello orangeflower,
http://www.sharedfont.com/eng/faq.html#include
ohc> I'm sorry to do this and I'm sure someone has an explanation here, but I'm
ohc> at my wit's end.
ohc> I have an empty swf that is loading another swf with all of my views,
assets
ohc> etc. I am creating
ohc> a font symbol in the "view" swf's library to be used later by dynamic
ohc> TextFields. The font symbol
ohc> is being exported for ActionScript and has a linkage identifier. From the
ohc> container swf I'm
ohc> dynamically creating dynamic TextFields within the "view" swf and setting
ohc> the embedFonts and
ohc> text properties appropriately like so:
ohc> textTitleFormat = new TextFormat();
ohc> textTitleFormat.font = "AkzidenzGroteskBE";
ohc> textTitleFormat.color = 0x51433D;
ohc> textTitleFormat.align = "left";
ohc> textTitleFormat.underline = true;
ohc> textTitleFormat.size = 24;
ohc> titleText = curProductText.createTextField("Title" + "_" + date.getTime(),
ohc> curProductText.getNextHighestDepth(), this.View.copyBox.Title._x,
ohc> this.View.copyBox.Title._y, this.View.copyBox.Title._width,
ohc> this.View.copyBox.Title._height);
ohc> titleText.text = title; // where title is a string; this is tracing out the
ohc> value I expect
ohc> titleText.type = "dynamic";
ohc> titleText.embedFonts = true;
ohc> titleText.antiAliasType = "normal";
ohc> titleText.setTextFormat(textTitleFormat);
ohc> The question I have is it possible to apply a TextFormat to a TextField
ohc> using an embedded font that is NOT
ohc> in the container swf's library? If not then that is my problem and I think
I
ohc> can use shared libraries to counter
ohc> this behavior. Either way, I was wondering if someone could clarify some of
ohc> this for me.
ohc> Thanks,
ohc> Thomas
ohc> _______________________________________________
ohc> [email protected]
ohc> To change your subscription options or search the archive:
ohc> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
ohc> Brought to you by Fig Leaf Software
ohc> Premier Authorized Adobe Consulting and Training
ohc> http://www.figleaf.com
ohc> http://training.figleaf.com
--
Ivan Dembicki
____________________________________________________________________________
[EMAIL PROTECTED] | |
http://www.design.ru
_______________________________________________
[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