views:

276

answers:

0

Hi,

I've a custom component with a ColorPicker and a ComboBox grouped using a ApplicationControlBar.

This custom component is created at runtime using actionscript and added to the application (AIR application). When a button is clicked, this custom component is removed from the main application and added to a window to show it in a separate window.

Everything works fine till this point. But when the combobox is clicked, the drop-down is shown in the main app. window, rather than the child window. The colorpicker doesn't even show the swatch.

Can some one tell me how to set the drop-down's (swatch panel in case of colorpicker) display area?

thanks in advance..

Shakti