XML image loading problem

Hi

I’ve XML gallery which loads images from xml file. But its just loading 1st 10 images only rather than all the images listed in xml. I’ve checked out all the spels and typos there is no problem in that and even when i trace my xml variables in flash it also get all the values but its not showing images more then 10. I’ve following code written for that… plz help … thx in advance


function createSingleCollectionTimeline()
{
var times:Number = 0;
lengthOfArray = subCollectionCNodsLength[collectionNo];
//trace(lengthOfArray);
subCollectionMCs[iCount_3] = subParentMovie.createEmptyMovieClip(“insideMC_new”+iCount_3, 850+iCount_3);
subCollectionMCs[iCount_3].attachMovie(“SingleCollectionMC”, “sub_headingMC”+iCount_3, 900+iCount_3, {_x:iCount_3*252, _y:0});
subCollectionMCs[iCount_3][“sub_headingMC”+iCount_3].SingleCollectionHolderMC.loadMovie(subCollectionSmallImg[collectionNo][iCount_3], 950+iCount_3);
trace(subCollectionMCs[iCount_3][“sub_headingMC”+iCount_3]._x);
subCollectionMCs[iCount_3][“sub_headingMC”+iCount_3].clickCounterLargeImgG = iCount_3;
subCollectionMCs[iCount_3]._visible = false;
subCollectionMCs[iCount_3][“sub_headingMC”+iCount_3].onRelease = function()
{
var count:Number = 0;
bigImageOpen = true;
page_SingleCollections.bigImg_mc._visible = true;
page_SingleCollections.bigImg_mc._alpha = 100;
page_SingleCollections.bigImg_mc.BigMC_BG._visible = true;
page_SingleCollections.bigImg_mc.blackMC._visible = true;
page_SingleCollections.bigImg_mc.largeImage_mc.loadMovie(subCollectionLargeImg[collectionNo][this.clickCounterLargeImgG]);
trace("languageVar: "+languageVar);
if (languageVar == 0)
{
largeImageDescription = subCollectionText[collectionNo][this.clickCounterLargeImgG];
}
else if (languageVar == 1)
{
largeImageDescription = subCollectionText_Fr[collectionNo][this.clickCounterLargeImgG];
}
page_SingleCollections.bigImg_mc.largeImageText_mc._visible = false;
page_SingleCollections.bigImg_mc.largeImage_mc._visible = false;
enableBtn();
showPreloader();
preLoadingInterval4 = setInterval(updatePreloader4, 10);
noOfTimes = 0;
myInterval4 = setInterval(preLoadingProgress, 10, page_SingleCollections.bigImg_mc.largeImage_mc, 1, 1, null, init4, null);
};
noOfTimes = 0;
iCount_3++;
//trace(iCount_3);
preLoadingInterval3 = setInterval(updatePreloader3, 10);
myInterval3 = setInterval(preLoadingProgress, 10, subCollectionMCs[iCount_3-1][“sub_headingMC”+(iCount_3-1)].SingleCollectionHolderMC, lengthOfArray, iCount_3, createSingleCollectionTimeline, init3, beforeLoad);
}