All-

I'm sorry to do this and I'm sure someone has an explanation here, but I'm at my wit's end.

I have an empty swf that is loading another swf with all of my views, assets etc. I am creating a font symbol in the "view" swf's library to be used later by dynamic TextFields. The font symbol is being exported for ActionScript and has a linkage identifier. From the container swf I'm dynamically creating dynamic TextFields within the "view" swf and setting the embedFonts and
text properties appropriately like so:

textTitleFormat             = new TextFormat();
textTitleFormat.font        = "AkzidenzGroteskBE";
textTitleFormat.color       = 0x51433D;
textTitleFormat.align       = "left";
textTitleFormat.underline   = true;
textTitleFormat.size        = 24;

titleText = curProductText.createTextField("Title" + "_" + date.getTime(), curProductText.getNextHighestDepth(), this.View.copyBox.Title._x, this.View.copyBox.Title._y, this.View.copyBox.Title._width, this.View.copyBox.Title._height); titleText.text = title; // where title is a string; this is tracing out the value I expect
titleText.type = "dynamic";
titleText.embedFonts = true;
titleText.antiAliasType = "normal";
titleText.setTextFormat(textTitleFormat);

The question I have is it possible to apply a TextFormat to a TextField using an embedded font that is NOT in the container swf's library? If not then that is my problem and I think I can use shared libraries to counter this behavior. Either way, I was wondering if someone could clarify some of this for me.

Thanks,

Thomas
_______________________________________________
[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