flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bilbosax <waspenc...@comcast.net>
Subject Re: ItemRenderer Render Order
Date Thu, 12 Oct 2017 23:12:48 GMT
I initially tried Erik's solution to use a contentCache with queueing
enabled, and set maxActiveRequests to 3, but I still got the same results -
one of the first three images was always the last to render.  So I finally
took a more neanderthal approach and have two url ArrayCollections.  The
first just has the first three image url's, and the second has the the
entire list of url's.  I set the dataprovider for the list to to the first
ArrayCollection, and when updateComplete fires, I set the dataprovider to
the second ArrayCollection.  The whole time I use a contentCache, so all the
the images are available to my application for other uses.  So now the first
three images load quickly, and by the time I start scrolling, all of the
other images are ready to go. Thanks for the suggestions guys!!



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/

Mime
View raw message