flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Miko <marrtinm...@gmail.com>
Subject Re: ToggleButton and state images
Date Thu, 25 Jul 2013 15:19:06 GMT
In this case you have the states predefined in the component and I would
use down and up states.


On Thu, Jul 25, 2013 at 5:11 PM, mark goldin <markzolotoy@gmail.com> wrote:

> In case of a ToggleButton what states would I use? selected and normal? Or
> I need to creates states first?
>
>
> On Thu, Jul 25, 2013 at 10:08 AM, Martin Miko <marrtinmiko@gmail.com>
> wrote:
>
> > Edit to the example:
> >
> > it should be the otherway around, correct notation is:
> >
> > icon.styleName="your_desired_icon"
> >
> > sorry for the confusion
> >
> >
> > On Thu, Jul 25, 2013 at 5:06 PM, Martin Miko <marrtinmiko@gmail.com>
> > wrote:
> >
> > > If I recall it correctly use the icon style [1] in mxml it should be
> > > something similar to
> > >
> > > stateName.icon="your_desired_icon"
> > >
> > > [1]
> > >
> >
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/supportClasses/ButtonBase.html#style:icon
> > >
> > >
> > > On Thu, Jul 25, 2013 at 5:01 PM, mark goldin <markzolotoy@gmail.com
> > >wrote:
> > >
> > >> How can I provide different images for ToggleButton's states without
> > >> modifying its skin (if possible)?
> > >>
> > >> Thanks
> > >>
> > >
> > >
> > >
> > > --
> > > Martin Miko
> > >
> >
> >
> >
> > --
> > Martin Miko
> >
>



-- 
Martin Miko

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message