Fr33m4n Posted January 22, 2006 Posted January 22, 2006 Hi guys, I'm a noob to flash and as such I know very little but I thought I could get this one thing right. Appears as if I was wrong. I built a preloader for my site and it's not working. I ctrl+enter to preview it and then hit ctrl+enter again to simulate download, and all I get is a white screen.This is my file:http://s63.yousendit.com/d.aspx?id=3OQ6ZINUSEA7K06YYACMOFSYMZ It would be awesome if someone could take a quick look at it. It's made in Flash 8. Here's the AS I used:bytes_loaded = Math.round(this.getBytesLoaded());bytes_total = Math.round(this.getBytesTotal());getPercent = bytes_loaded/bytes_total;this.loadBar._width = getPercent*80;this.loadText = Math.round(getPercent*100)+"%";if (bytes_loaded == bytes_total) { this.gotoAndPlay(3);}The length of my bar is 80px. Registration point is left side middle.thx in advance.
Fr33m4n Posted January 23, 2006 Author Posted January 23, 2006 In case anyone is interested I figured it out for myself. Turns out some of the objects that was supposed to be in frame 3 appeared in frame 1 and caused a white screen. I just corrected that and it worked.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now