Hi, i'm pretty new to flex, have been programming in pick for years but have decided to start implementing some of my programs to flex. I was wondering if there was a way to have a flex application read a dataProvider which has a list of colors in it such as <backgroundColor>#00E5EE</backgroundColor> and have it set the colors based on the dataProvider. Basically we are trying to allow our customers to choose custom colors through our software before it gets exported to the xml and into the flex application. If i dont make much sense let me know and i'll try to clear it up.
Thanks for the help!
This is not a problem at all, colors are uints so when reading the xml(which is a string) you just need to cast it to uint.
mycontrol.color = uint(xmlvalue);