4 Replies Latest reply on Dec 10, 2009 12:24 PM by Peter deHaan

    Missing Bullets from XML in TextArea?

    pir897

      I have an XML file that contains HTML formatted text surrounded with <p> & <li> tags. The text in the <p> tags show up fine. The text in the <li> tags doesn't appear.

       

      Import text converter:

      <fx:Script>
              <![CDATA[
                  import flashx.textLayout.conversion.TextConverter;
              ]]>
      </fx:Script>
      

       

      MXML that contains the TextArea:

      <mx:Form id="Right" right="0" width="920" scroll="0" borderVisible="false" fontFamily="bookos" verticalCenter="0">
                
          <mx:FormItem width="870">
                     
              <s:TextArea id="contentrightText" fontSize="24"
                textFlow="{TextConverter.importToFlow(slide.contentright, TextConverter.HTML_FORMAT)}" 
                borderVisible="false" 
                width="800" color="#005395"/>
          </mx:FormItem>
      </mx:Form>
      

       

      and a snippet from the XML document:

      <contentright>
            <![CDATA[
                  <p>Here's How:</p>
                  <li>Bullet Text 1</li>
                  <li>Bullet Text 2</li>
            ]]>
      </contentright>
      

       

       

      Where are my bullets?