[flexcoders] Flex2 : databinding & itemrenders

2005-11-18 Thread Michael Hansen
hi List, I have a HorizontalList with a listItemRenderer. [Bindable] public var ItemList:ArrayCollection; The thumbnail.mxml consists of an vbox with an image and a label like so:         My problem is that if I change the underlying model(ItemList) for the HorizontalList, the label

Re: [flexcoders] Flex2 : databinding & itemrenders

2005-11-18 Thread Manish Jethani
On 11/18/05, Michael Hansen <[EMAIL PROTECTED]> wrote: > The thumbnail.mxml consists of an vbox with an image and a label like so: > > > > > > > My problem is that if I change the underlying model(ItemList) for the > HorizontalList, the label text in the thumbnail render does no

Re: [flexcoders] Flex2 : databinding & itemrenders

2005-11-18 Thread Michael Hansen
Thank you Manish! I'm not getting any warnings. :( I don't quite follow your suggestion. Sorry for being stupid, but all this is semi new to me :) Could you elaborate a bit on your  answer? Also do you guys have a public bug tracking running somewhere. I would save us all (both you and me) so

Re: [flexcoders] Flex2 : databinding & itemrenders

2005-11-19 Thread Manish Jethani
On 11/18/05, Michael Hansen <[EMAIL PROTECTED]> wrote: > I don't quite follow your suggestion. Sorry for being stupid, but all this > is semi new to me :) Could you elaborate a bit on your answer? So instead of this: You have to do this: override public func

Re: [flexcoders] Flex2 : databinding & itemrenders

2005-11-20 Thread Michael Hansen
Hi Manish, Your trick doesn't seem to work. Actually it throws an exception on app. init. Debugging the thumbnail.mxml file I observe the following: 1. first thumbnail ' function set dataObject'  is called with dataObject corresponding to dataprovider[0] multiple times 2. when it do iterate

Re: [flexcoders] Flex2 : databinding & itemrenders

2005-11-20 Thread Manish Jethani
On 11/20/05, Michael Hansen <[EMAIL PROTECTED]> wrote: [snip] > Isn't there a way to loop through the itemlist, and manually force a rebind > of the dataObjects? Okay, if you have the time, can you send me (directly to me, not to the list) a standalone sample (a complete sample that compiles an

Re: [flexcoders] Flex2 : databinding & itemrenders

2005-11-21 Thread Michael Hansen
Thanks Manish. I've abandoned the Hlist, and trying to build my own (much like the tile the flex store sample). I'm very much pressed for time now (did not foresee the problems with databinding). If the new release hasn't come out when i finish this (a week or so) I'll try to construct some s

Re: [flexcoders] Flex2 : databinding & itemrenders

2005-11-21 Thread Manish Jethani
On 11/21/05, Michael Hansen <[EMAIL PROTECTED]> wrote: > I'm very much pressed for time now (did not foresee the problems with > databinding). If the new release hasn't come out when i finish this (a week > or so) I'll try to construct some samples that expose the problems. Never mind, I think t