PDA

View Full Version : RichTextEditor colorPicker subcontrol data


Budd Tugly
04-28-2009, 07:50 PM
Hello all,
new to the forum, kinda new to Flex. I have searched the forums, but cannot find anything related to my problem, so here goes:

I have a RTE and I want to use the colorpicker subcontrol, but I need to load the color names and hex values from a data provider. I have this process working with a plain ol' colorPicker (just to test it), but I cannot get the colorPicker within the RTE to accept data.

My data comes in a s XML from a PHP page, and is set to an ArrayCollection. With the standard colorPicker I can just set the dataProvider to the name of my ArrayCollection and it works dandy. But with the picker inside the RTE I get nothing. How can I accomplish getting this data to the RTE colorPicker? Thanks.