How to add multiple containers

i want to add a multiple containers . I am having 21 category folders , this code
loads all images from 1 category. but i need show all category’s first image only
when i click the any one of the category it loads that represents images…

pls download …

http://www.esnips.com/doc/1579ef5e-e396-413b-b185-beda55ba900d/Image_Loded

//coded by Mohamed rafi.b///
fscommand(“fullscreen”, true);
fscommand(“showmenu”, “false”);
fscommand(“trapAllKeys”, true);
var thumb_spacing = 80;
// load variables object to handle loading of text
var description_lv = new LoadVars();
description_lv.onData = function(raw_text) {
description_txt.text = raw_text;
};
function GeneratePortfolio(portfolio_xml) {
var portfolioPictures = portfolio_xml.firstChild.childNodes;
for (var i = 0; i<portfolioPictures.length; i++) {
var currentPicture = portfolioPictures*;
var currentThumb_mc = contentClip.createEmptyMovieClip(“thumbnail_mc”+i, i);
currentThumb_mc._x = ithumb_spacing;
currentThumb_mc.createEmptyMovieClip(“thumb_container”, 0);
currentThumb_mc.thumb_container._y=50
i;
currentThumb_mc.thumb_container.loadMovie(currentPicture.attributes.thumb);
currentThumb_mc.title = currentPicture.attributes.title;
currentThumb_mc.image = currentPicture.attributes.image;
currentThumb_mc.description = currentPicture.attributes.description;
currentThumb_mc.onRollOver = currentThumb_mc.onDragOver=function () {
info_txt.text = this.title;
};
currentThumb_mc.onRollOut = currentThumb_mc.onDragOut=function () {
info_txt.text = “”;
};
currentThumb_mc.onRelease = function() {
image_mc.loadMovie(this.image);
image_mc.play(this.image)
description_lv.load(this.description);
};
}
}
// xml object for xml content (defines sources for selections)
var portfolio_xml = new XML();
portfolio_xml.ignoreWhite = true;
portfolio_xml.onLoad = function(success) {
if (success) {
GeneratePortfolio(this);
} else {
trace(“Error loading XML file”);
}
// no success? trace error (wont be seen on web)
};
// load
_root.contentClip.contentPath ="";
portfolio_xml.load(“portfolio.xml”);