I have a main swf file that is simply a container to load in other swfs.
These other swf files are movies that contain embedded flv files. Each are about 300 frames long.
I want to include a preloader in the flv swf files and when i do and view them individually - they work fine.
When i view the main loader movie - none of the preloaders show up - it’s just blank until the movies are loaded.
For the preloader - i added a scene and used the following code:
loaded_bytes = _root.getBytesLoaded();
total_bytes = _root.getBytesTotal();
loadpercent = (loaded_bytes/total_bytes)*100;
// Lets check if it reached 100…
if (loadpercent != 100) {
bar.gotoAndStop(int(loadpercent));
} else {
gotoAndPlay("main", 1);
}
Any ideas what i need to do to see the individual pre loaders?
thanks!