2 Replies Latest reply on Jan 6, 2012 9:06 AM by jxyiliu@yahoo.ca

    How to apply solidColor with different states in pure actionscript

    jxyiliu@yahoo.ca

      Hi All,

       

      A quick question,

       

      We can set <s:soildColor color= "0x000000" color.select="0xcc0000" color.out="0x0000cc"> in MXML to attach soildColor with diffenrent states. As an actionscript learner, I want to know how can we achieve the same goal in pure actionscript? I searched internet for hours and could not figure it out. Please give a hand.

       

      Thanks in advance for any help.