I think we need more context to answer this question. From MXML, you should be able to put "simple" HTML as the value of Label.html, Button.html, TextInput.html and hopefully any other FlexJS framework component that displays text. Essentially, we want all FlexJS UI widgets to work with HTML as well as plain text Strings. On the SWF side, the HTML support is currently limited by flash.text.TextField. On the JS side, the components should just be setting innerHTML.
If you are writing AS to transpile to low-level JS, then as others answered you can create HTMLxxxElements and work with them, or also just set the innerHTML of some element. I still have dreams of a component set for FlexJS with components such as "I" so you could essentially in-line HTML with the rest of your MXML, but that will be a bunch of work on the SWF-side, and probably not nearly as efficient as havin browser take raw HTML as innerHTML. HTH, -Alex On 10/13/16, 11:55 AM, "[email protected] on behalf of Carlos Rovira" <[email protected] on behalf of [email protected]> wrote: >Hi, > >I'm trying to output <i> html tag, I think it should be something like >HTMLIElement or something. >Btw, Where I could find the HTMLInputElement, HTMLSpanElement and others? > >Thanks > >-- > >Carlos Rovira >Director General >M: +34 607 22 60 05 >http://www.codeoscopic.com >http://www.avant2.es > > >Este mensaje se dirige exclusivamente a su destinatario y puede contener >información privilegiada o confidencial. Si ha recibido este mensaje por >error, le rogamos que nos lo comunique inmediatamente por esta misma vía y >proceda a su destrucción. > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le >comunicamos >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC >S.A. La finalidad de dicho tratamiento es facilitar la prestación del >servicio o información solicitados, teniendo usted derecho de acceso, >rectificación, cancelación y oposición de sus datos dirigiéndose a >nuestras >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación >necesaria.
