There is also a MultilineLabel component that should do roughly what mx:Text did. TextArea is really intended for editing multi-line text. The basic FlexJS component set should support an "html" property wherever there is a "text" property so even button labels can be "rich".
We still need volunteers to build out equivalents for other higher-level HTML controls like Table and the new HTML5 widgets. Thanks, -Alex On 9/27/16, 6:29 AM, "Peter Ent" <p...@adobe.com> wrote: >We do have a <js:TextArea> and it does have an html property. I honestly >haven't used it in a long time. But give it a try and let us know how well >it does the job you want. > >If you isn't doing what you want, reply to this email thread and we can >offer some pointers. It might be to file a bug, give you some better >directions, or it might be to encourage you to extend the component and >contribute your changes back. Try it and lets see what happens. > >Peter Ent >Adobe Systems/Apache Flex Project > >On 9/27/16, 7:15 AM, "Lane" <lanefrie...@hotmail.com> wrote: > >>I'm really enjoying FlexJS. I can't believe that I'm using MXML and it's >>working directly on a browser. Finally, a way to build a >>platform-agnostic >>Rich Internet Application that can't be stopped by anyone! >> >>One question: How does one bring up the functional equivalent to an >>ActionScript MXML TextArea that can handle html? Now that one is >>accessing >>javascript within a browser, is it possible in some way to tie into the >>browser? Just the simple things - bold, italics, centered headings, >>embedded >>images that move with the text. Is it possible to instantiate (using >>ActionScript) some explanatory html-formatted text with a few small >>embedded >>images when the user presses a button. >> >>There are tutorials at http://nextgenactionscript.com/tutorials/ but they >>don't seem to have what I need (or perhaps I don't recognize it when I'm >>staring at it). >> >>The ideal would be to embed the formatted text into the application so >>that >>it looks like a TextArea. Failing that, I suppose a popup from the >>browser >>might work (if ActionScript can generate it and communicate with it). I'm >>not sure how a mobile device would handle that, or if users would like >>it. >> >>Any ideas would be appreciated. >> >>Lane. >> >> >>--- >>This email has been checked for viruses by Avast antivirus software. >>https://www.avast.com/antivirus >> >