[flexcoders] Re: Spark List item 0 not visible

2010-06-22 Thread fusionpage
This question was answered by Adobe on their Flex forum. You have set an explicit width of mx:Image in your list renderer http://forums.adobe.com/message/2916563#2916563 Just wanted to close the loop here in case others see the same issue. Don --- In flexcoders@yahoogroups.com, fusionpage

[flexcoders] Re: spark list functions missing?

2010-01-22 Thread Ariel J
1) dataGroup.getElementAt won't return renderers for non-visible items 2) dataGroup.verticalScrollPosition is measured in pixels not items 3) dataGroup.getElementAt cannot receive an index based on the dataProvider because if the 10th item is the first visible item, the index of the renderer for

Re: [flexcoders] Re: spark list functions missing?

2010-01-22 Thread Alex Harui
1. There is also a getVirtualElementAt 2. You’re right. I remembered that after I hit send. Is the element’s Y value useful? 3. getItemIndicesInView might help or getElementIndex On 1/22/10 11:54 AM, arielj...@yahoo.com arielj...@yahoo.com wrote: 1) dataGroup.getElementAt won't

Re: [flexcoders] Re: spark list

2010-01-13 Thread Andriy Panas
Hi Ariel J, You may find this piece of code written by Steven Shongrunden to be insightful Disable selection on some items in a spark List http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/ -- Best regards, Andriy Panas

[flexcoders] Re: spark list

2010-01-12 Thread Ariel J
Thank you Claudiu for the response. I was using a custom item renderer, and yet the blue highlight for selection was still appearing, so I knew the change had to do with the Item Renderer class, not the skin. There is a property autoDrawBackground in itemRenderer, that when set to false,