Preloader Class preloads multiple swfs and/or imagesUPDATE: Sorting output is now the same as input, so all images preloaded by this class can be pulled out in the same sorting order Accepts an array with strings containing the files to be loaded Dispatches a progress event when loading is in progress Get the total percentage loaded through getter method 'Preloader.percLoaded' Dispatches a complete event when total loading is complete Returns an array with objects with the loaded files Get the array through getter method 'Preloader.objects'
Working example included
|