Hi Naveen,

You can do as follows:

<mx:Button label="Image Button"
    toggle="true"
    color="0xFFFFAA"
    textRollOverColor="0xAAAA55"
    textSelectedColor="0xFFFF00"
    upSkin="@Embed(source='assets/buttonUp.gif')"
    overSkin="@Embed(source='assets/buttonOver.gif')"
    downSkin="@Embed(source='assets/buttonDown.gif')"
    disabledSkin="@Embed(source='assets/buttonDisabled.gif')"
    icon="@Embed(source='assets/logo.gif')"/>


Cheers,
Naveen

On Wed, May 11, 2011 at 1:20 AM, Shalu <[email protected]> wrote:

> Hi Naveen,
>
> You can display different images on different states of buttons.
>
> Thanks,
> Shalu
>
> On May 8, 12:31 am, Navin <[email protected]> wrote:
> > Hi,
> >
> > How to show different images for a single button?
> >
> > Regards,
> > Naveen.
>
> --
> 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