2 Replies Latest reply on Jul 20, 2010 1:57 PM by Francisc

    Text contour

    Francisc Level 3

      Hello!

       

      Is there any way I can add white countour around black text in a Label control?

       

      Thank you!

        • 1. Re: Text contour
          Matt Le Fevre Level 4

          something like this?

          <?xml version="1.0" encoding="utf-8"?>
          <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
              
              <mx:Label text="Hello World" fontSize="20" fontWeight="bold" color="0x000000" x="210" y="160">
                  <mx:filters>
                      <mx:DropShadowFilter alpha="0.8" distance="0" strength="2" quality="3" color="0xFFFFFF"/>                       
                     </mx:filters>    
              </mx:Label>
                                                              
          </mx:Application>
          
          • 2. Re: Text contour
            Francisc Level 3

            Thanks! I thought about using something similar, Glow, but thought there would be a more direct approach.

            If there is no better answer than that in the next day, I'll take that.