1 Reply Latest reply on Nov 12, 2009 7:20 PM by Subeesh Arakkan

    Dynamically setting the color of the title in a Panel

    michael nieuwenhuizen Level 1

      Hello, I know I can set the color & font of the title in a Panel using the titleStyleName in a stylesheet.  How can I dynamically change the color though?  I have a component:


               <mx:Panel id="myPanel"borderColor="{this.color1}" />


      where this.color1 is a value that changes dynamically, and thus changes the border color.  How do I do this for the color of the text in the title?