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 <[email protected]> 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 <[email protected]> > 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 <[email protected] > >wrote: > > > >> How can I provide different images for ToggleButton's states without > >> modifying its skin (if possible)? > >> > >> Thanks > >> > > > > > > > > -- > > Martin Miko > > > > > > -- > Martin Miko >
