Click to See Complete Forum and Search --> : load movie preloaders not loading


russOner
08-02-2006, 09:02 AM
am i doing something wrong??

i load external swf movies into my main movie.. these external movies all have preloaders which work fine, but when i run the main movie and the external movies are loaded in, their preloader does not show...

what is going on?

and yes i am simulating the download, and have even tried uploading it

raviganesh91221
08-03-2006, 07:02 AM
Check the script it should work.

Can u post the code here

russOner
08-03-2006, 08:09 AM
im just using a simple
loadMovie("movie.swf", "MCinstance");

the movie will load, but skips the use of the preloader

raviganesh91221
08-03-2006, 08:12 AM
This one is ok. But check the script that u hav given for preloader

russOner
08-03-2006, 12:48 PM
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
gotoAndPlay(3);
}

raviganesh91221
08-04-2006, 02:33 AM
As u r loading this movie in another movie. U should not use _root. Since _root calls up the main movie. So delete _root in ur code. Then it will work.,

russOner
08-04-2006, 06:21 AM
omg i am an idiot!!!

thank you so much ravi

russOner
08-04-2006, 06:25 AM
what is the rule with loadMovie function??? must i unload a previous movie??? or can i keep using loadMovie ??

raviganesh91221
08-04-2006, 07:35 AM
Yes u can keep on loading. Once u load a new movie it will replace the previous one. But u should load it in the same placeholder(movieclip) or level.