# Preloader stops buttons from loading clips

**URL:** <https://forum.kirupa.com/t/preloader-stops-buttons-from-loading-clips/121284>\
**Category:** Uncategorized\
**Created:** [September 1, 2004, 5:46pm UTC](https://forum.kirupa.com/t/preloader-stops-buttons-from-loading-clips/121284 "2004-09-01T17:46:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![klegger](https://avatars.discourse-cdn.com/v4/letter/k/ebca7d/32.png) [@klegger](https://forum.kirupa.com/u/klegger)\
**Post date:** [September 1, 2004, 5:46pm UTC](https://forum.kirupa.com/t/preloader-stops-buttons-from-loading-clips/121284/1 "2004-09-01T17:46:28Z")

</div>

Hello all:

I have a movie clip that is launching external SWF clips into an empty container called “loader”

on (release) {  
\_parent.loader.loadMovie(“debarker.swf”,“loader”);  
\_parent.sound.loadMovie(“sounds/products/prod1\_en.swf”,“sound”);  
}

If I add a pre-loader scene with a percentage bar, the buttons no longer load the clips. All I have to do to make things work again is to remove the preloader scene. Ideas?

The preloader uses the following code, and the second scene is labelled “main”

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(“main”);  
}

Please help …
