stop();
bt = _root.getBytesTotal();
_root.onEnterFrame = function () {
var bl = _root.getBytesLoaded();
var pr = bl/bt*100;
bar_mc._xscale = pr;
if (pr == 100) {
delete _root.onEnterFrame;
nextScene();
}
}
ive been using this preloader for ages and its worked very nicely. tonight, however, i have not had much luck. ive set it up as usual and when testing as 56k or such it all works fine. however, the live version has not worked at all. the first frame isnt even loaded. i havent yet successfully loaded the swf- after several minutes i give up. the swf itself is kinda large… 800k, but it hsant been optimized nad in the future will be modular. i just wanted a live version to test on different browsers. i read about a similiar issue where the first frame doesnt appear until 75% or so but that solution involved fixing linkage issues, which my project does not involve…
ive tried other preloaders, nothing has worked… im going crazy
any help is appreciated
Do you have a link?..I’ll test it from my end.
thanks, but i took it down after testing on another puter with a different connection.
might the fact that the root level of my movie is only 2 frames long have something to do with it?
link
of all the preloader tutorials that i’ve read…this is the only one that has worked for me
ive tried a variety of preloader scripts, all of which ive succesfully used before. i stripped the file down to 300 kb and still the first frame wont load. in fact, ive been waiting a ridiculously long time to download the movie-im on cable and have been waiting several minutes for a 300kb file- and it has not loaded yet. perhaps it is a hosting problem, though swfs have loaded on this host before. also, im going to remove any linkage and external loading to see if thats the issue…
ok… fixed. for those of u with a similiar problem check ur html editor and make sure the link to the swf is correct. this is especially important if ur using dreamweaver opn a linux server- by default the link to the swf points to a local location and not in the proper folder
thanks