Hi Rohit,

You can use this class . Please let me know if it is not working

package
{
        import flash.events.Event;
        
        import mx.controls.ColorPicker;
        import mx.events.FlexEvent;

        public class CustomColorPicker extends ColorPicker
        {
                public function CustomColorPicker()
                {
                        super();
                        
addEventListener(FlexEvent.CREATION_COMPLETE,creationCompleteHandler);
                }
                
                private function creationCompleteHandler(event:Event):void
                {
                        open();
                }
                
                override public function close(trigger:Event=null):void
                {
                        // to prevent closing, do nothing here
                }
                
                
        }
}

Regards

Subeesh
http://subeesh.co.nr

On Fri, Nov 7, 2008 at 5:51 PM, rohit <[EMAIL PROTECTED]> wrote:
>
>
> I checked but not able to find
> On Nov 7, 5:58 am, Shilpa <[EMAIL PROTECTED]> wrote:
>> Hi Rohit,
>>
>> The colorpicker will always close automatically unless and until you
>> have written some custom components which are changing the original
>> functionality of the color picker.
>>
>> Actually I tried to use color picker in popup window. It is working
>> for me.. So check one again or else post the code. I will try to help
>> you.
>>
>> Regards
>> Shilpa Chalasani
>>
>> On Nov 6, 4:29 am, rohit <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> > Hi,
>>
>> > is color picker have always open functionality
>>
>> > e.g. suppose i have a popup(box) and in that their is color picker
>> > (open) .It never close even i change the color..
>>
>> > Thanks
>> > Rohit- Hide quoted text -
>>
>> - Show quoted text -
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to