Are there 32 entries in the xml file ? You can add a touch up and create movieclips at runtime so that you have as many movieclips as there are entries in the xml file, so that you can add or remove any of the nodes in the xml file to control your photo gallery.
You can loop through the array and use its values to assign data to a loader function to each clip if they are numerically sequential.
e.g
for(var i in myarray)
{
var imagetoload:String = myarray[i];
var mc:MovieClip = root["mcname"+i];
// some code next that uses mc and imagetoload to load the image into the relevant clip
}