Hello,flexcoders
      When I use FlexBuilder 2.0 Beta 3,I find an interesting problem.
      I want to use a Label with htmlText.when I writ like this:

   <mx:Label fontSize="14">
            <mx:htmlText>
                  <![CDATA[
                        <font color="#FF0000">This</font> is <b>html text</b> <i>in a</i> <font color="#666699">Label</font> <u>component</u></font>
                  ]]>
            </mx:htmlText>
      </mx:Label>
     

     It doesn't work.
     
      But if I write the code like this:
<mx:Label fontSize="14">
            <mx:htmlText>
                  <![CDATA[<font color="#FF0000">This</font> is <b>html text</b> <i>in a</i> <font color="#666699">Label</font> <u>component</u></font>]]>
            </mx:htmlText>
      </mx:Label>
                       
    It work well.I just change it by write the "!<[CDATA[ ]]>" and the html text in one the same line~Is that a bug??
Peace,
        Dreamer
[EMAIL PROTECTED]
          2006-05-23


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to