0 Replies Latest reply on Mar 26, 2010 3:44 PM by ochuco

    Multiple fontFamily declaration question - helpp

    ochuco Level 1

      Hello,

       

      I'm new to Flex.  Please help me with my question.  On my stylesheet, I embedded a font on top, which I call 'DINRegular'.  So for the .registerProgress, i want it to first use DINRegular, then Arial but somehow, when I compile this stylesheet (to .swf) and load my application, it uses Arial.  I tried removing Arial from the fontFamily, then that's when it uses DINRegular.  Anyone know why it's doing this?

       

      @font-face {
          src:url("/assets/fonts/DINRg.ttf");
          font-family: "DINRegular";   
          advancedAntiAliasing: true;
      }

       

      .registerProgress{
          fontSize: 12;
          fontFamily: DINRegular, Arial;
          color: #ffffff;
      }

       

       

      Thanks..