Hi I am building a 123 page navigation (in Flash actually)
And for finding out how many numbers I have render
I do
count = items / itemsPrPage;
where items are total items in the XML file, and itemsPrPage are how many items that are going to render on the page at one time
eg. if there are 17 items in the XML file
and I want 8 items pr page, I do
count = 17 / 8
this gives me 2(rounded), but I am stuck how to do get the last one, because we need one page for the 17th item, can anyone explain the trick, please
regards Thomas A.