# Preloader problems \[renamed\]

**URL:** https://forum.kirupa.com/t/preloader-problems-renamed/75887
**Category:** Uncategorized
**Created:** [January 12, 2005, 10:15pm UTC](https://forum.kirupa.com/t/preloader-problems-renamed/75887 "2005-01-12T22:15:07Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![i\_will\_learn\_fl](https://avatars.discourse-cdn.com/v4/letter/i/b487fb/32.png) [@i\_will\_learn\_fl](https://forum.kirupa.com/u/i_will_learn_fl)
#### Post date: [January 12, 2005, 10:15pm UTC](https://forum.kirupa.com/t/preloader-problems-renamed/75887/1 "2005-01-12T22:15:07Z")

</div>

I have a really big problem. So in my movie there is a box animation kind of thing where a box expands its width and then on the 20th frame a preloader comes in. I used the preloader from the flash MX tutorial. (Preloader w/ loadBar) The problem is when I play the whole thing it does not show the preloader playing. I did some experimentation and learnt that the preloader only works when its on Frame 1 and not when its on any other frame. It just gets skipped or something. I do not know why this is happening. Please help me. I have to change the code or something. The original code is:

getBytesLoaded  
getBytesTotal  
if (getBytesLoaded=getBytesTotal) {gotoAndPlay (22)  
}

(Thats on frame 20)

and on frame 21 it says this.gotoAndPlay (20)

Ok thats all. Please help as fast as u can.  
Thnaks
