1 Reply Latest reply on Mar 29, 2007 11:52 AM by eCollection

    Button Text Visible When Alpha=0

    SeanFlash
      Hi all,

      I have a standard button placed inside of a canvas whose alpha I set to zero. Behind the canvas is just a black background. Although everything else in the canvas is invisible at that point, the text of the button is now a faint blue. Any tips on getting the text invisible as well?

      Thanks!
        • 1. Re: Button Text Visible When Alpha=0
          eCollection
          Have you tried to embed the font you are using, flash (or flex) cannot do alpha blending on texts unless font is embedded.
          You can do that creating a new fontFamily using @font-face, for example:

          <mx:Style>
          @font-face {
          src:local("Trebuchet MS");
          fontFamily: myNewFont;
          fontWeight: bold; /* Important because button font IS BOLD */
          flashType: true;
          }
          </mx:Style>