I am dynamically creating a text field and want to use 2 different
embedded font faces in the same text field. Is this possible?
I have created textfields to embed the 2 fonts, so they are accessible
to the textfields. This is the code I am using:
var fmt=new TextFormat();
fmt.font='Univers 67 CondensedBold';
fmt.size=26;
fmt.color=0xFFFFFF;
target['siteTitle'].txt.createTextField('titleTxt',target['siteTitle'].t
xt.getNextHighestDepth(),0,0,600,200);
with (target['siteTitle'].txt.titleTxt) {
html=true;
embedFonts=true;
selectable=false;
htmlText='BLAKEPERDUE<font face="Univers 57 Condensed">SOFTWARE</font>';
}
target['siteTitle'].txt.titleTxt.setTextFormat(fmt);
As you can see, I want one dynamic text field to hold two font faces
(Univers 67 CondensedBold and Univers 57 Condensed). Is this possible?
Thanks!
Blake Perdue | 212.522.1292 | AIM: blakepCNN
_______________________________________________
[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