Hi Danny, I don't know if this will help you at all, but the TextField.Stylesheet class has a transform() method which will convert _one_ of your style objects from the Stylesheet (ie. The one you maybe assigned for the <a> or the <p> element or <your_own_custom> element) into a TextFormat object which you can then apply to your TextField with setNewTextFormat.
It is also possible to transform several style objects into the same TextFormat object, but doing this the other way around is a lot more complicated but I gues it could be solved by writing a your own parser to rewrite the HTML that flash generates - maybe its already out there ;-) ? I hope this is helpful otherwise throw it away ;-) Cheers Martin Baltzer -----Oprindelig meddelelse----- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Danny Kodicek Sendt: 20. marts 2006 12:12 Til: Flashcoders mailing list Emne: Re: [Flashcoders] CSS with input text >Is not possible at all. When flash parses a CSS styled html, it simply replaces all the tags with the corresponding formatting code (textformat, font, etc). Ugh, ugly. Thanks. Danny _______________________________________________ [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

