This content has been marked as final. Show 4 replies
they should all start loading, close to ,simultaneously. when they finish is more dependent on the files sizes than the start order.
did you test using the download simulation in the test environment or did you test online?
Its probably not relevant but if you use a "for (var aa in myArray) " style loop instead of the more usual "for (var aa=0;aa<myArray.length;aa++)" then it will appear to be reverse order. I know its more usual to use the second version when looping through an array... but if you use 'for ... in' to iterate over an array then it starts with the most recently added element.
Yes, may be they start to load to closely. There is many images, never big, just thumbnails. The size of each is approximately the same. I did the test online. Even if on the computer it could be different, the real test is online.
May be I can use the "for in" like GWD said or simply start the for with the last item and then i--. Well i'll try it.
Tanx both for your help
Ho, also, thank's about the course of the "for in". I didn't know that it was working that way "Last item first", and it could be useful sometimes. I appreciate your help!
if you want them to load sequentially use preloader code or one of the listener methods of the moviecliploaderclass.