flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: ItemRenderer Render Order
Date Wed, 11 Oct 2017 16:17:48 GMT
I don't know enough about the layers of the internet to answer your
question, but a network monitor can help show why things are happening the
way you describe them, and then you will have more data to use to form a
solution/workaround.  Right now, all we have is speculation.

Think of it this way: if you create an HTML page with 20 <img> tags, will
the images pop in in the same order every time (assuming you've flushed
the browser cache beforehand)?  I don't know the answer, maybe someone
else does.  And the server might be serving those images in an unexpected
order and maybe there is a way to correct that.

Pre-loading the images as someone else suggested should help.  You could
also try to coordinate between renderers and only have one renderer make
an image request and queue the others until the first one comes back.

HTH,
-Alex

On 10/11/17, 6:39 AM, "bilbosax" <waspence41@comcast.net> wrote:

>I hear your logic, but I'm not sure that I follow. I make a database
>request
>that downloads a bunch of url strings to an array collection that are in
>the
>order that I want them displayed and the priority that I want them
>rendered.
>After the arraycollection is populated, a component is instantiated
>containing the list and the array collection is set as the data provider
>and
>the images begin to render. The problem is that it seems that the first
>three images that are initially on the screen are the LAST to be loading.
>If
>the data provider is being set all at once, you are telling me there is no
>way to force the render order from 1 to 24 instead of 24 to 1?
>
>It sounds like you are saying whoever gets their data first will render
>first, but if I just hand off the data provider, I can't control who will
>have their photo delivered first so it will always be random. Is that
>right?
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-users.2333346.n4.nabble.com%2F&data=02%7C01%7C%7Cd0797f4884ac4a5f1fef08d
>510ad7591%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636433259549007197&
>sdata=THUXvhnsmFF%2F3FpxTl%2B6eHIPry%2Fjaij96M2VdfoDDx4%3D&reserved=0

Mime
View raw message