Scotty's image interface w/ preloader

So I have slightly altered Scotty’s V3_MX gallery coding so that it works with a sliding row of thumbnails. Everything’s fine, until I add my preloader.

The coding for the preloader is [AS]bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loader_mc._height = getPercent100;
this.loaded_txt.text = Math.round(getPercent
100)+"% Loaded";
if (bytes_loaded == bytes_total) {
When I do this, it loads the thumbnails, but returns nothing when I click on them. The main difference I can think of is that somehow moving the content for the gallery and the code to frame 3 has somehow screwed it up a bit…

My .fla can be downloaded from

Any help would be greatly appreciated.