Here is my function that I am using to generate images across the top of my photo slideshow. For some reason or another I cannot get the thumbnail images to have an active onRelease functionality or anything else for that matter. I know it's probably stupid but what am I missing here?

The images show up fine, so that's not an issue. Only the clicking functions.

PHP Code:
var mc_imagebar:MovieClip _root.createEmptyMovieClip("mc_imagebar"_root.getNextHighestDepth());

function 
load_images(xml) {
    var 
_node:XML xml.firstChild;
    
mc_imagebar._x 0;
    
mc_imagebar._y mc_slidebar._y;
    
total_images _node.childNodes.length;
    
    for(var 
0total_imagesi++) {
        
// Store image data into arrays
        
image_small.push(String(_node.childNodes[i].childNodes[0].firstChild.nodeValue));
        
image_large.push(String(_node.childNodes[i].childNodes[1].firstChild.nodeValue));
        
image_description.push(String(_node.childNodes[i].childNodes[2].firstChild.nodeValue));
        
        
// Create image thumbnails
        
var new_thumb:MovieClip mc_imagebar.attachMovie("mc_thumb""thumb_"+imc_imagebar.getNextHighestDepth());        
        var 
new_preloader:MovieClip mc_imagebar.attachMovie("mc_preloader""mc_preloader_thumb_"+imc_imagebar.getNextHighestDepth());
        
loadIntoClip(image_small[i], new_thumbnew_preloader);
        
        
new_thumb.onRelease = function() {
            
trace(this);
        };
        
        
new_thumb._x next_x;
        
new_thumb._y 20;
        
new_preloader._x next_x;
        
new_preloader._y 60;
        (
0) ? new_thumb._alpha fade new_thumb._alpha full;
        
new_thumb._id i;
        
next_x += 110;
    }
    
mc_slidebar.txt_imgcount.text image_number "/" + (total_images-1);
    
    
// Load the first image automatically
    
loadIntoClip(image_large[0], mc_imagemain_preloader);
};