This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > January 2005 > Preloader Problem with Cached Site





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Preloader Problem with Cached Site
LeifKolt

2005-01-20, 11:17 pm

i have a preloader set up like this

frame 1
if (_framesLoaded ==_totalframes) {
gotoAndStop(3);
}
frame 2
gotoAndPlay(1);

my problem is this..the preloader works fine the 1st time through..but than
the next time someone trys to access the page from the same computer...it gets
stuck in the preloader indefinatly. the reason is, the site is being cached on
the computer..so that after the 1st load it doesnt load again,,so my script
which needs it to load 3 frames isn't seing it load any,,and the site just
stays on the preloader...

how should i modify my action script so that it doesnt do this??

rlc5611

2005-01-22, 4:15 am

It still gets loaded regardless of whether it is from the net or the cache.
What action is triggering the load of the SWF? Is it loading as a movie or a
movie clip? If you are using MX 2004, at the very least you should get rid of
the capital letters (and try >= instead of ==): if (_framesloaded
>=_totalframes) { gotoAndStop(3); } frame 2 gotoAndPlay(1); but it would help

to know under which context you are having problems loading the movie (and
where this script is located).

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews