Got it working - used mouseDown instead of click. Annoying.
-Cameron On Tue, Apr 12, 2011 at 2:31 PM, Cameron Childress <[email protected]> wrote: > I have a Spark ItemRenderer that works fine using Flex 4.0 SDK, but > doesn't seem to work under SDK 4.5 (19786). > > This ItemRenderer has some controls that only show up when you hover > over the ItemRenderer. In 4.5 the controls still show when you hover, > but the state changes back to "normal" as soon as I mousedown on the > item. This means the controls vanish and cannot be clicked. > > Abbreviated codesample: > > <s:ItemRenderer> > > <s:states> > <s:State name="normal" /> > <s:State name="hovered" /> > </s:states> > > [... buncha other stuff ...] > <s:Button label="test" includeIn="hovered" click="Alert.show('hello')" > /> > [... buncha other stuff ...] > > </s:ItemRenderer> > > Thinking it's something easy, but I'm just not seeing it... > > -Cameron > > -- > Cameron Childress > Sumo Consulting Inc > http://www.sumoc.com > --- > cell: 678.637.5072 > aim: cameroncf > email: [email protected] > -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: [email protected] ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
