 Efflam Daniel
|
<p>I try to load thumbnails one after the others : image 2 loading start when image 1 loading is complete.<br />
As I understand, priority is determined according to when asset is added.<br />
So i just do :<br />
Code:
<br />
var n:int = 0<br />
for each(var project:ProjectVO in projects)<br />
{<br />
_previewsLoader.addLazy("preview_" + n, project.preview);<br />
n++;</p>
<p>}<br />
</p>
<p>but with this code image 2 can be loaded before image 1. As i miss something ?<br />
Thank you.
</p>
|
 Matan Uberstein
|
Hi,
The default number of connections AssetLoader opens is 3, thus when you call 1 – The first 3 children are started, this improves overall loading speed, but it means that the smaller image will be finished loading first.
So when the order of 1 is important, set the 1 to 1, then the images will sequentially load in the correct order.
Thanks for posting, let me know if it worked!
|
 Efflam Daniel
|
Hi Matan,
Yes it works.
AssetLoader seams to be very powerfull !
Thank you
|