I don’t think I’m seeing a problem on Flex 4.  It is hard to decipher which 
number is supposed to be displayed but the first 5 and last 5 never change.  
When you tried Flex 4 which build did you use?


On 2/8/10 1:11 PM, "Laurence MacNeill" <[email protected]> wrote:






At 03:40 PM 2/8/2010, you wrote:


I’m a little late to this, so pardon me if my point has been raised 
previously…I’ve seen the behavior similar to what you’re describing and it 
indicated that the ItemRenderer was not correctly written because ItemRenderers 
are recycled when scrolling for performance reasons.  You have to write them to 
ensure that the dataprovider to your combox box is in a state to receive the 
data element passed to it and that the selectedIndex gets reset. This requires 
sub-classing the ComboBox for use as an item renderer of a list-based control.

Much appreciated.  But that point has, indeed, been raised already.  :-)  I'm 
fairly certain I'm doing that already, which is why I'm so confused.  And it 
seems that no one else could really figure out why it wasn't working either, 
based on my earlier postings, which is why I posted a test-case program here 
that demonstrates the precise problem.

You're more than welcome to take a look at it -- the more people who see it, 
the more likely it is that I'll find an answer.

Thanks,

Laurence MacNeill
Mableton, Georgia, USA





--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to