suppose if want change the defualt size of font and color of font and
default width and height of textInput etc
how to i do manikandan and naveen

please add the code into what you wrote that is exactly i need to know

Thanks&Regards,
Gerald A

On Thu, Apr 7, 2011 at 4:29 PM, Manikandan S <thisismanikan...@gmail.com>wrote:

> Hi Gerald,
>
> U want to create a component from Flex native component? If yes means
> create a custom component extending from Flex native component and then add
> your own methods and properties to the custom component.
>
> For example,
>
> public class CustomTextInput extends TextInput
> {
>         private var _sampleText:String;
>
>         //Constructor (if you needed)
>         public function CustomTextInput ()
>         {
>             super();
>         }
>
>         public function get sampleText():String
>         {
>             return _sampleText;
>         }
>
>         public function set sampleText(b:String):void
>         {
>             //your logic
>             _sampleText = b;
>         }
> }
>
> Likewise you can add methods and can override existing methods.....
>
>
>
>
> --
>
> Regards,
>
> Manikandan.S  <http://www.umoldit.com>
> <http://www.umoldit.com>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to flex_india@googlegroups.com.
> To unsubscribe from this group, send email to
> flex_india+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>



-- 
Thanks & Regards,
A  Gerald

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

Reply via email to