Jump to content

Flash help


Recommended Posts

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.

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...