Hi nitin u can implement this by using skinclass
<s:button skinclass= "select createskin from menu it will display the
window give the name and click on ok it will give u skinnable button xml

On Fri, Feb 10, 2012 at 4:52 PM, Nitin Gopi <[email protected]> wrote:

> Hi
> I want to create a custom button component, in which I want the label of
> the button to be 'Submit' by default. So I created a subclass of button and
> in the constructor used super.label = 'Submit'. I also read some where that
> it is better to use getter, setter methods and override them to change some
> property. Which one is better way?
> I also want to know how can I change the cornerRadius of the button in the
> custom button class? I think that cornerRadius property is not inherited by
> the subclass, then how can I change it?
>
> With Regards,
> Nitin
>
> --
> You can only depend on yourself. The cavalry ain't coming.
>
> --
> 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.

Reply via email to