face08 / bulk-loader

Automatically exported from code.google.com/p/bulk-loader
0 stars 0 forks source link

loadNow method loads all images instead of the one specified #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I iterate through all nodes in a xmllist to load thumbs and add register
image loaders for each image:

imageLoader.add(imagesSrc[i], {id: “i”+i});
imageLoader.get(”i”+i).addEventListener(Event.COMPLETE, onImageLoaded);

then, on a method called clickThumb(), i call the method loadNow to load
and display the corresponding image:

imageLoader.loadNow(”i”+i);

What is the expected output? What do you see instead?

that make it load all the images. why that happens?

What version of the product are you using? On what operating system?

i don't know, where does it show?

Please provide any additional information below.

Original issue reported on code.google.com by isaacal...@gmail.com on 4 May 2010 at 9:46

GoogleCodeExporter commented 8 years ago
Hi Isaac.

loadNow is a way to force the priority of items, making the queue to be stoped, 
than the specific item 'bumps 
ahead'[1]. After adding items to be loaded, what you need to do is call the 
start() method [2] [3].

Also if possible, I'd ask to direct usage questions to the mailing list[4] not 
the issue tracker.

To find out which version you are using you either:
a) Downloaded the zip file (in which case the revision number is part of the 
name of your zip.
b) Fetched from svn, in which case you can use 'svn info'.

Best regards,
[1] http://media.stimuli.com.br/projects/bulk-
loader/docs/br/com/stimuli/loading/BulkLoader.html#loadNow()
[2] http://code.google.com/p/bulk-loader/wiki/GettingStarted
[3] 
http://media.stimuli.com.br/projects/bulk-loader/docs/br/com/stimuli/loading/Bul
kLoader.html#start()
[4] http://groups.google.com/group/bulkloader-users

Original comment by debert on 4 May 2010 at 9:54