Make sure you've got .multiline set to true. I used to have problems formatting html text until I accidentally all I had to do was add one line of code.
Alison -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 3:59 PM To: [email protected] Subject: Re: [Flashcoders] Problem: Bold, italic,normal text style in a dynamic textfield Html doesn't always render the bold versions of the fonts or italicized. I think if you are using a non standard font - hence the embedding, I think you may have better luck converting the html tags to a textFormat object and apply it. Someone else might totally disagree, but in the past,that is how I have managed to get my text to the look the way i want it too. Wrestling with text, one of the many joys. > Hey everyone, > > I'm problems with showing italic, bold and normal text in a dynamic > textfield, behing a mask, all at one time. > > To make things simple: > I have a textfield (tf) in a movieclip (mc) on the stage, which is > masked. > > I embedded all characters, for testing purposes. > > mc.tf.htmlText = "hello"; -> works like a charm. > mc.tf.htmlText = "hello <i>world</i>"; -> "world" doesn't come out but > at least world is italicized. > > Now, if I click on the italic button in the properties of the textfield, > mc.tf.htmlText = "hello <i>world</i>"; "hello" doesn't come out. > > It's the same story with bold. Am I doing something wrong? > > Thanks, > -- > Ramon Miguel M. Tayag > Managing Director > Quirkworks > _______________________________________________ > [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 ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. ********************************************************************** _______________________________________________ [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

