good day,
so heres the probs:
i have a main movie with a container movie clip entitled CONTENTS.
i am loading .swfs into this container (contents).
i have the preloader for my main movie, but i need it for my other movies.
the code for my main movie
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent100;
_root.loadText = Math.round(getPercent100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}
THANKS to you guys for this code!!!
then on my individual swfs i have
bytes_loaded = Math.round(_root.contents.getBytesLoaded());
bytes_total = Math.round(_root.contents.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.contents.loadBar2._width = getPercent100;
_root.contents.loadText2 = Math.round(getPercent100)+"%";
if (bytes_loaded == bytes_total) {
_root.contents.gotoAndStop(3);
}
just ADDED CONTENTS after the _root to indicate to the program to check the bytes for the contents movie. Seemed logical to me HOWEVER, success is yet to be had
am i missing something that is keeping the preloaders from loading for the individual swfs??
cheers
P
PS i have a big thank you to Kirupa and all the moderators who have helped me out in the past and in the future on my new site…just wanna say YOU ROCK THE FREE WORLD