# Preloader not working with scene

**URL:** https://forum.kirupa.com/t/preloader-not-working-with-scene/176537
**Category:** flash
**Created:** [January 24, 2006, 9:01pm UTC](https://forum.kirupa.com/t/preloader-not-working-with-scene/176537 "2006-01-24T21:01:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Alinser](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Alinser](https://forum.kirupa.com/u/Alinser)
#### Post date: [January 24, 2006, 9:01pm UTC](https://forum.kirupa.com/t/preloader-not-working-with-scene/176537/1 "2006-01-24T21:01:05Z")

</div>

Hello - I did a tutorial or three on this site to try to get my preloader to work, and so far have had no success.

I have two frames on my actions layer, Frame 1 has the following:  
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) {  
this.gotoAndPlay(“catalogs”, 1);  
}
