PDA

View Full Version : Problems with Flex ColorPicker


Shakti
06-25-2009, 08:30 AM
Hi,

I've a ColorPicker component in a custom component.
I create this custom component say 'MyComponent' at runtime using actionscript and add it to a canvas in the main application.
When a button is clicked, MyComponent object removed from the canvas and added to a Window object to be displayed in a separate window.
But the colors are not displayed in this new window when the ColorPicker is clicked.
If it was not added to the canvas before, it works fine in the window. but adding it to one parent, removing it and then adding to some other component is creating problems.

Can some one help me resolving the problem?

Thanks in advance
Shakti