2 Replies Latest reply on Apr 14, 2011 12:53 PM by RandomReado

    getStyle backgroundColor returns number?

    RandomReado Level 1

      I want to find out the background color of a component in hex, i.e. 0xFFFFFF. When I use myComp.getStyle("backgroundColor"), a number is returned instead of the hex.

       

      Does anyone know how I can return the hex instead of a number? Thanks in advance.