Because the data didn't change? sinstone_flickr wrote: > hey guys and gals, > > i'm using a list with an itemRenderer to show a list of activities in our > LMS. the list has its dataProvider set to use XML retrieved from the backend: > > <itemRenderers:ActivityListItemRenderer id="mainActivityList" > dataProvider="{this.learningDesignXML.Activity}" /> > > inside the declaration of the ActivityListItemRenderer, there is this: > > <mx:List xmlns:mx="http://www.adobe.com/2006/mxml" > width="100%" height="100%" paddingBottom="0" paddingTop="0" > paddingLeft="0" paddingRight="0" > itemRenderer="{new ArgumentsToRendererFactory({}, > ActivityItemRenderer)}" > variableRowHeight="true" useRollOver="false" horizontalCenter="0" > verticalAlign="middle" selectable="false"> > > now... you can see that the itemRenderer is specified here. this itemRenderer > has three important children who have the data passed to them through > binding. looks like this: > > <mx:ViewStack id="activityViewStack" resizeToContent="true"> > <itemRenderers:SimpleActivityState id="simpleActivityState" > data="{data} "/> > <itemRenderers:ComplexActivityState id="complexActivityState" > data="{data}" /> > <itemRenderers:BranchingActivityState > id="branchingActivityState" data="{data}" /> > </mx:ViewStack> > > for some reason, when data changes in the list, the dataChange event is > caught in the itemRenderer itself. however, its children who have this same > data bound to them, don't catch the dataChange event when it is changed. > > why? any ideas? > > thanks! > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links > > > > >
-- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust