This class allows you to preload all of your images, sounds, videos, JSON, JavaScript and CSS files with one call. It provides you with progress reports and lets you know when everything is done.
It requires MooTools and MooTools More with the Assets
and Request.JSONP
boxes ticked. I have attached a copy of the required MooTools More version to this gist.
You can find an example here on jsFiddle.