# Scotty's image interface w/ preloader

**URL:** <https://forum.kirupa.com/t/scottys-image-interface-w-preloader/87338>\
**Category:** Uncategorized\
**Created:** [April 20, 2005, 8:19am UTC](https://forum.kirupa.com/t/scottys-image-interface-w-preloader/87338 "2005-04-20T08:19:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThePuzzleMaster](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/thepuzzlemaster/32/972_2.png) [@ThePuzzleMaster](https://forum.kirupa.com/u/ThePuzzleMaster)\
**Post date:** [April 20, 2005, 8:19am UTC](https://forum.kirupa.com/t/scottys-image-interface-w-preloader/87338/1 "2005-04-20T08:19:53Z")

</div>

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 = getPercent_100;  
this.loaded\_txt.text = Math.round(getPercent_100)+"% Loaded";  
if (bytes\_loaded == bytes\_total) {  
this.gotoAndPlay(3);  
[/AS]  
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 [www.mentalfabrications.com/storage/gallery.zip](http://www.mentalfabrications.com/storage/gallery.zip)

Any help would be greatly appreciated.

```
      Thanks,
             iLan
```
