Here's the scenario...

Simple datagrid with XMLListCollection data provider.  

Average collection size is 200 rows of XML (shown below)

10 columns in the datagrid with a unique item renderer for each.  1 Column can 
display 1 of 10 embedded images depending on an xml attribute.

AS3-only Renderers are highly optimized.

Average visible rows = 30 (simultaneously visible rows / meaning at least 300 
renderers being recycled when scrolling?

Typical XML row data

<foodata fooid="4997" fooid2="0" fooid3="2909" foot="9" startdate="2010-04-09 
13:45:00" enddate="2010-04-09 14:45:00" foost="1" fooname="New Foobar" 
foosub="More Foobardata" fooloc="false" fooonly="false">
</foodata>

When all said and done being loaded, vertical scrolling is noticeably slow on a 
new iMac (Safari or Firefox with latest FlashPlayer) compared to a stripped 
down non-XML data provider version which scrolls quickly.

Googling consensus shows that XMLListCollection is not the optimal dataprovider 
in this scenario and that XML in general is not the best choice if it can be 
avoided.


Can anybody shed any light on a better way to improve scrolling performance 
based upon this scenario?


Thanks in advance.


Reply via email to