# \[Flash8\] HELP! AS2 - Preloader Problem

**URL:** <https://forum.kirupa.com/t/flash8-help-as2-preloader-problem/302059>\
**Category:** flash\
**Created:** [December 21, 2009, 5:52am UTC](https://forum.kirupa.com/t/flash8-help-as2-preloader-problem/302059 "2009-12-21T05:52:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaryVII](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@MaryVII](https://forum.kirupa.com/u/MaryVII)\
**Post date:** [December 21, 2009, 5:52am UTC](https://forum.kirupa.com/t/flash8-help-as2-preloader-problem/302059/1 "2009-12-21T05:52:15Z")

</div>

![](http://forum.kirupa.com/uploads/kirupa/6032/1b75345d8c48a7c0.jpg)

I’m trying to put a preloader in my flash profile.  
but the problem is my preloader won’t show up in the swf. file if i put an image behind the preloader.  
if i delete the\*\* “Girl image layer”\*\* the preloader will work again.  
Is it possible to make the image visible behind the preloader?  
how to fix this problem?

My preloader fla. file :  
[http://rapidshare.com/files/323773253/MaryVII\_Preloader.fla.html](http://rapidshare.com/files/323773253/MaryVII_Preloader.fla.html)

Here’s the actionscript that i used for my preloader

```auto
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
    _root.gotoAndStop(3);
}

```
