all groups > flash actionscript > january 2005 >
You're in the

flash actionscript

group:

my preloader works but..


my preloader works but.. garroyo
1/28/2005 9:49:19 PM
flash actionscript:
The web site I am building has a preloader in the beginning when loading the
home page body. It also has a preloader when it loads the Contact page. Both
of these work perfectly. But when I use the exact same preloader to load my
Virtual Tour page, the percentage loaded and status bar doesn't show up until
it's almost complete, around 80%.. This is the code I use for my preloader:
onClipEvent (enterFrame) { loading = _parent.getBytesLoaded(); total =
_parent.getBytesTotal(); percent = 100*loading/total; percentage =
Math.round(percent) + '%'; loadBar._width = percent; if (percent>99) {
_parent.gotoAndPlay(2); } } This is the web site:
http://www.audioartstudios.com/version2/home.php Pay attention to preloader
when the page first loads. Then click on Contact, and then Virtual Tour. You
will see what I am talking about. I cannot figure this one out and it is
driving me crazy.
Re: my preloader works but... InternetInfinity
1/28/2005 10:20:17 PM
Re: my preloader works but... InternetInfinity
1/28/2005 10:22:29 PM
Re: my preloader works but... garroyo
1/28/2005 10:32:27 PM
Well the first frame only contains one image. A 1 pixel border. And the other
two swf that have a preloader have the same one image in the first frame.
I've tried this on two computers in both IE and Netscape 7 and the preloader
does not apear until it reaches around 80% when you click on the Virtual Tour
button. So if it works for you, then what hell.
AddThis Social Bookmark Button