2 Replies Latest reply on Feb 11, 2010 5:49 PM by miguel8312

    colors in adobe flex confusion

    miguel8312 Level 3

      can someone please explain to me the difference between

      this color ([0xFF0000, 0x0000F] and this color [#D0CCCC, #E5E1E1]

      I'm creating a custom component using the drawing apis and i would like to use this [#D0CCCC, #E5E1E1]  but when i put the color i get an error

      "syntax error" as if flex does not know how to interpret the gradient? what its the difference between the syntax arent these both hex? i have also tried

      ["#D0CCCC", "#E5E1E1"] that does not seem to work either. how do i convert color to 0xff... syntax?

      Any help would be appreciated.

      Thanks

      Miguel