3 Replies Latest reply on Apr 8, 2009 4:11 AM by ramace

    Multiple styleName

    ramace

      Hi ...

       

      How can we apply multiple styleName's to a component...

       

      eg:

       

      .a

      {

           fontFamily:Arial;

           fontSize:11;

      }

       

      .b

      {

           color:#FF0000;

      }

       

      //This is not working.

      <mx:Text styleName="a b"  text="HELLO"/>

       

      How to achive this ?

       

      Thanks in advance ....