Preloader, works, but doesn't

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.


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.

Maybe you wanna try using this:


this._x = -55+(_root.getBytesLoaded()/_root.getBytesTotal())*269.3;

it still didn’t work, the _x value still changes the same way, but the bars don’t move :h:

The _x value changes the way it’s supposed to?

yeah, the output window goes up all the way to how it should…?

Can I see your file ?

yeah, hang on, I’ll upload it.

apparently, my host doesn’t let me upload .fla’s, and it’s too big to attach, i’ll zip it

btw, r u logged in masked? you don’t show up on the list of active users

www.barbdwyer.com/T6/site.zip
1.58 MB

Unexpected File Format. Are you using Mx 2004 ?

yeah, i am, should i save it as a mx?

OK, try now
www.barbdwyer.com/T6/site.zip

Ok, downloading. I don’t think I’m masked in the online view, I just close and open the forums a lot :stuck_out_tongue: I don’t know why, it’s a habit I guess.

it says a disk error occured during the read operation :frowning:
can you just tell me what you did?

Here you go, http://www.voetsjoeba.com/stash/site.fla

It’s off to bed now for me, so if you have any further questions you’ll have to wait untill tomorrow or ask someone else why what I’ve changed works the way it does :slight_smile:

Sorry, that other post wasn’t supposed to be there, I aborted posting it because I didn’t think on time of the fact that the file would be too big to attach, so half of the file has been uploaded :stuck_out_tongue: That’s what causing that error.

I’ve uploaded it for you to check out, deleting that post now …

ok, thanks