I have a flash project which loads external data from XML documents. One contains information on PDF downloads that the site offers, each download has various attributes.
There is not enough room to include all these Download items on one page so I need to offer pagination. My issue come where I would like to dynamicly create the 'x' number of mc's required and populating them with the correct items!
I have tried loads of options but can't seem to find a solution. I have looked at creating a pages array which holds x number of pages items which each contain a set of objects required for that page! This works, and I can easily get the number of pages required dynamicly from the whole XML list but I can't work out how to split up the XML into chunk of 'x' items and adding them to this pages array?
Can anyone suggest the way to extract/ split up this info into the required format?
Or perhaps suggest a better way to tackle this, i am fairly new to as3 programming and am probably missing something very obvious.
Many thanks for your time