-
no load
hello
i have an issue loading and swf in html page. every thing appears ok, my pre loader appears (so the movie is loading) and when it gets to 100% it sticks. if i refresh the page it zips through the preloader and plays properly.
here's my preloader script, its taken straight of a website.
onClipEvent (enterFrame) {
loading = _root.getBytesLoaded();
total = _root.getBytesTotal();
if (percent == undefined) percent = 0;
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndStop(2);
}
}
or could this be a html or browser thing (this happens in both ie and firefox) as i said it doesnt seem to load first time but (i think) once its in the cache it loads ok..
any ideas?
hope this is the right place to post this
cheers