1 Reply Latest reply on Jul 28, 2006 1:12 PM by peterent

    LinkButton style hyperlinks in Text component?

    kadewe
      <mx:FlexNewbie background="WebObjects">
      Hi there,
      I tried to use css to get some kind of hover effect for textlinks to no avail and then I tried:

      var newStyleDeclaration:CSSStyleDeclaration = new CSSStyleDeclaration();
      newStyleDeclaration.setStyle("color", "#FFCC33");
      newStyleDeclaration.setStyle("text-decoration", "underline");
      StyleManager.setStyleDeclaration("a:hover", newStyleDeclaration, true);

      so I assume that there is no way to create LinkButtonish hover effects in Text elements? Just the cursor changing to a hand over a hyperlink and me putting a <u> tag around it so the user gets a clue?

      If this is so, I strongly wish for better hover-support in the next release.

      -karsten