andylt1
09-04-2007, 09:11 AM
hello
i hope this is the right forum.
im having trouble loading a movie i created over th net. its quite a large movie containing some large flvs(around 10 meg). any way my issue is it doesnt seem to load properly. i have a preloader that appears at the beginning, but when it reaches 100% it doesent enter the main movie (or the next frame in this case) all is fine when i test it locally.
could it be that its too big? the movie in all isabout 13 meg. or could it be my preloader script?
here it is...
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);
}
}
pretty standard stuff.
any one have any ideas? i REALLY need to sort this soon and im scratching my head a bit.
thanks
i hope this is the right forum.
im having trouble loading a movie i created over th net. its quite a large movie containing some large flvs(around 10 meg). any way my issue is it doesnt seem to load properly. i have a preloader that appears at the beginning, but when it reaches 100% it doesent enter the main movie (or the next frame in this case) all is fine when i test it locally.
could it be that its too big? the movie in all isabout 13 meg. or could it be my preloader script?
here it is...
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);
}
}
pretty standard stuff.
any one have any ideas? i REALLY need to sort this soon and im scratching my head a bit.
thanks