# Preloader, works, but doesn't

**URL:** <https://forum.kirupa.com/t/preloader-works-but-doesnt/94452>\
**Category:** Uncategorized\
**Created:** [November 12, 2003, 8:00pm UTC](https://forum.kirupa.com/t/preloader-works-but-doesnt/94452 "2003-11-12T20:00:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yeldarb](https://avatars.discourse-cdn.com/v4/letter/y/51bf81/32.png) [@Yeldarb](https://forum.kirupa.com/u/Yeldarb)\
**Post date:** [November 12, 2003, 8:00pm UTC](https://forum.kirupa.com/t/preloader-works-but-doesnt/94452/1 "2003-11-12T20:00:08Z")

</div>

I am feeling like such a n00b today, I can’t get anything to work. Anyway, I have this preloader, it’s supposed to make the bars go accross, but it doesn’t for some reason, it changes the \_x value, which i know because i traced it, but the bars don’t move…? Any ideas, here’s the code i used.

```auto

onClipEvent(enterFrame) {
	this._x = -55+_root.getBytesLoaded()/_root.getBytesTotal()*269.3;
	trace(this._x)
}

```

btw, the reason there isn’t an if/then statement in it is cuz I have a % preloader too, and it covers that.
