Adobe Flex formating in textbox control

Posted on 2009-02-23
Last Modified: 2012-05-06
we are using adobe Flex 3.0  textbox control to display data from external xml file.
We would like to put bullet formats in the display (similar to how it is in any test editor like MSword)  how to get this done
Question by:tps2009
    LVL 19

    Accepted Solution


    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="" layout="absolute" creationComplete="init()">
    			private function init():void{
    				textBox.htmlText = '<ul><li>Coffee</li><li>Milk</li></ul>';
    	<mx:Text id="textBox" x="200" y="143"  width="165" height="55"/>

    Open in new window

    LVL 12

    Expert Comment

    As given in the example above, you can use the .htmlText property to render HTML data. You can refer to for usage imformation. There are certain constraints at sometimes it will not render HTML exactly similar to web browsers.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Advanced Datagrid with checkbox 4 291
    google maps with flash 1 360
    Vertical ScrollBar on RichTextArea 2 1,065
    To integrate SSRS reports in flex 4.6 6 485
    First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
    In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now