Hi Gerald, If your requirement is to have a component with a custom skin and changes on the appearences, you will have to create a skin class and apply it to your component. Please do not go around overiding methods only for the look and feel.
Refer to livedocs to know more about creating skins based on your host component. Thanks, Naveen On Thu, Apr 7, 2011 at 6:29 AM, Gerald Anto <[email protected]>wrote: > > > Hello Friends, > > i was told to create a component but it should not have default > behaviour atleast i have to do slight change of default appearence of > control > Actually i need to add a variable and methods of it and override some > methods like > > override protected function createChildren():void { > > } > > override public validate(value:Object = null, > supressEvents:Boolean = false):ValidationResultEvent { > // Method definition > } > > can anybody say how to do that? > if possible give me some example code > > Thanks&Regards, > Gerald A > > -- > 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. > > -- 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.

