0 Replies Latest reply on Apr 7, 2008 11:37 AM by Izzy1138

    htmlText <a> style a:link

    Izzy1138 Level 1
      I have this Text:
      <mx:Text x="10" y="435" link="bookmark()">
      <mx:htmlText><![CDATA[<a href='event:#'>LINK</a>]]></mx:htmlText>
      </mx:Text>

      I want to style the anchor tag like docs say it can: http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_04.html

      I put this in style sheet:
      a:link {
      color: #0000ff;
      textRollOverColor: #4e8ace;
      fontWeight: normal;
      textDecoration: underline;
      }

      AND THEN I get this warning: CSS selector condition type is not supported: ':link'
      AND the style does not work.

      What am I doing wrong?????

      Thanks.