1. subclass mx.core.UITextField. 2. override function set htmlText(value:String) or override whatever other you are using to set the text 3. read the string coming into above function. If it's in an html tag, just call super.html. Otherwise do what you want.
- Dan On 2/13/07, mindmillmedia <[EMAIL PROTECTED]> wrote:
Hello all, I posted a note earlier about using Mathematical Equations in Flex / Flash. I know that mx.core.UITextFormat (which inherits from flash.text.TextFormat) controls how text in a text field is displayed. Does anyone know how I would create a new class to manage a text field so that the tags which are normally parsed (<b><i>, etc...) are parsed normally. but if it is wrapped in a <mathml> tag, it would be parsed by another class? I hope this makes sense. Basically, I am trying to implement a system for displaying MathML information within a Flex app. Thanks in advance. David Tucker