Dynamically placing thumbs and centering it - Help Needed

Hi Guys,

I am currently trying to figure out this problem i have with the xml loaded thumbs. I cant
seem to get the width of the loaded thumbs and place them dynamically on the stage.

There are a few other things i wanna achieve but i am not too sure how to do it … can
someone please help me with it ?

  1. loading the thumbs one by one and not all the thumbs at once
  2. shifting the thumbs to the left or right as more thumbs are being generated
  3. when all the thumbs are being loaded, the overall will seem centralized to the stage

here is a copy of the file i am working on …

Thanks :hitman2: