# Odd problem

**URL:** <https://forum.kirupa.com/t/odd-problem/192051>\
**Category:** Uncategorized\
**Created:** [June 25, 2006, 3:27pm UTC](https://forum.kirupa.com/t/odd-problem/192051 "2006-06-25T15:27:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![junkerjorg](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@junkerjorg](https://forum.kirupa.com/u/junkerjorg)\
**Post date:** [June 25, 2006, 3:27pm UTC](https://forum.kirupa.com/t/odd-problem/192051/1 "2006-06-25T15:27:51Z")

</div>

I created an image viewer and added a preloader for all the images with this script;

Everything worked fine but I noticed my .swf was loading a little slow so I added a preloader to the entire .swf with this script in a new scene;

bytes\_loaded = Math.round(this.getBytesLoaded());  
bytes\_total = Math.round(this.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
this.loadBar.\_width = getPercent_100;  
this.loadText = Math.round(getPercent_100)+"%";  
if (bytes\_loaded == bytes\_total) {  
gotoAndPlay(“Scene 1”, 1);  
}

This preloader works fine but now the viewer script in Scene 1 doesn’t seem to execute at all. Anyone have any ideas??
