Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Having problems with this preloader.

Status
Not open for further replies.

123456programmer

Programmer
Aug 3, 2003
105
AU
Having problems with this preloader.

My problem is that I can't make the preloader to work...it stops, and i can't figure out what the problem is...
here is my .fla file:
could someone please help me with this, it has been bothering me for a while now.
PS. I made this .fla just for the scripts so it s really poor :p it's kinda the bones of my site.
 
The script i used for the preloader is this.

onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndStop(2);
}
}

I solved the problem by changind the player version in the publishing settings, from "Flash player 7" to the "Flash player 6"

Does anyone know how come the Flash player 7 doesn't support this script?
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top