I figured it out -- yes, you can use different font faces in the same dynamic text field. Here's how:
- make sure the fonts are embedded - create the dynamic text field, but DO NOT set the font face or color using TextFormat - instead, use HTML tags to set the font face and color, such as: textField.htmlText='<font face="Univers 67 CondensedBold" color="#ffffff">BLAKEPERDUE</font><font face="Univers 57 Condensed" color="#cccccc">PHOTOGRAPHY</font>' That's it. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perdue, Blake Sent: Sunday, October 01, 2006 3:54 PM To: [email protected] Subject: [Flashcoders] Font faces in text fields 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 _______________________________________________ [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

