4 Replies Latest reply on Dec 5, 2006 4:53 AM by Peter Lorent

    pseudo class css for flash 8

    martianarm
      Hi

      My site is in flash 8 and I have a dynamic text box which I'm formatting with an external style sheet.
      That's all going ok, but I want to have a rollover effect for the links within the dynamic text, so I'm trying to use a pseudo class to do this. Flash won't display it though. The other styles all work fine.

      Here is a sample of the actionscript:
      quick+="<p class='four'>Engineers: ";
      quick+="<p class='two'>Carlos Raul de la Vega Guerrero @ Abdala Studios (Havana), Laurence Brazil @ ";
      quick+="<p class='seven'><a href=' http://www.lazymoonstudios.co.uk'>Lazy Moon Studios</a></p></p></p>";

      Here is the style sheet html:
      /* CSS Document */
      p {
      color: #000000;
      font-family: Arial,Helvetica,sans-serif;
      font-size: 8px;
      display: inline;
      }

      .one {
      font-family: "Square721 BT";
      font-size: 7px;
      font-weight: bold;
      color: #835d00;
      }

      .two {
      font-family: "Square721 BT";
      font-size: 7px;
      font-weight: normal;
      color: #835d00;
      }

      .three {
      font-family: "Square721 BT";
      font-size: 8px;
      font-weight: bold;
      color: #aa1f22;
      }

      .four {
      font-family: "Square721 BT";
      font-size: 7px;
      font-weight: bold;
      color: #835d00;
      }

      .five {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 24px;
      font-weight: bold;
      color: #CC3333;
      }

      .six {
      font-family: "Square721 BT";
      font-size: 7px;
      font-weight: normal;
      color: #835d00;
      text-decoration:underline;

      }

      a.seven:link {font-family: "Square721 BT"; color: #835d00; text-decoration:underline}
      a.seven:hover {font-family: "Square721 BT"; color: #fa1940; text-decoration:underline}

      Is it just that flash 8 doesn't support this. If not, why not and are adobe going to bring it in in the next version?

      Thanks very much in advance for any suggestions.

      Rachel