Hi,
I have a library called shared.swf, and in my movie called home.swf I display a lot of assets that are in the shared.swf library. To preload home.swf I use this code in the first frame:
bytes_loaded = Math.round(getBytesLoaded());
bytes_total = Math.round(getBytesTotal());
getPercent = bytes_loaded/bytes_total;
loadBar._width = getPercent*80;
if (bytes_loaded == bytes_total) {
gotoAndPlay(3);
}
and in the 2nd frame I have:
gotoAndPlay(1);
But it is only preloading the assets that are actually in the home.swf file and not the ones that are in the shared.swf library. This causes transitions using the shared.swf assets to be very laggy. Is there a way to modify the preloading code that I posted above to also preload the shared.swf library, or even better, just the assets from shared.swf that are used in home.swf?
Thanks, Matt