Thumbs in array for gallery

[color=darkred]I[/color][color=black] need to get more control over the thumbnails.[/color]
[color=darkred][/color]
[color=darkred]gallXML.ignoreWhite = true;
gallXML.onLoad = gallery;
gallXML.load (“gallery.xml”);
function gallery ()
{
section = this.firstChild.childNodes [0].attributes.main;
numimages = gallXML.firstChild.childNodes.length;
spacing = 31;
for (i = 0; i < numimages; i ++)
{
centering ()
picHolder = this.firstChild.childNodes ;
thumbHolder = thumbnails.createEmptyMovieClip (“thumbnail” + i, i);[/color]
[color=darkred][size=1][color=black]/
–> this has to be an array, so that I can give all thumbnails together an order. I thought this was an array, but I can’t get control over this. When I trace ‘thumbHolder’, I get back only the [/color][/size][/color][color=darkred][size=1][color=#000000]last thumb. If I trace ‘this’, than I get the right one. i.e: _level0.thumbnails.thumbnail4) */[/color][/size][/color][color=darkred]
thumbHolder._y = i * spacing;
thumbHolder.title = picHolder.attributes.title;
thumbHolder.main = picHolder.attributes.main;
thumbLoader = thumbHolder.createEmptyMovieClip (“thumbnail_image” + i, i);
thumbLoader.loadMovie (picHolder.attributes.thmb);
thumbHolder.alphaTo (20, 4);
thumbHolder.onRollOver = function ()
{
this.alphaTo (100, 0.5);
}
thumbHolder.onRollOut = function ()
{
this.alphaTo (20, 4);
}
thumbHolder.onPress = function ()
{[/color]
[color=#8b0000][size=1][color=black]//[/color] --> [color=black]here I want an action for all thumbs together.[/color][/size][/color]
[color=#8b0000] }[/color]
[color=#8b0000][/color]
[color=black]I’ve been busy to understand the Bokel class, but I couldn’t find a good tutorial about thumbnail threatment. [/color]

Regards,