PDA

View Full Version : Lag issues


VersusMG
04-26-2005, 05:37 PM
www.versusmediagroup.com/soi

I am experiencing some lag issues with this site that we are working on for our client. I can't tell if our preloader isn't working correctly or if i am doing something wrong.

If you can help me please let me know.

Thanks

nthpixel
04-26-2005, 08:05 PM
So you're saying your movie takes an extra long time to load? What is the total size of the movie. Maybe you can post your preloader code so we can let you know.

VersusMG
04-27-2005, 09:46 AM
So you're saying your movie takes an extra long time to load? What is the total size of the movie. Maybe you can post your preloader code so we can let you know.


The preloader loads really fast. Then it lags really bad. That was my problem. When i get to the office i will post the code i am using for my preloader.

VersusMG
04-27-2005, 10:56 AM
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*100;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(23);
}


This code comes in after a short animation, the triangle doping.

I am also using external swf files...i doubt that will make a difference but it may.