you can setup a recursive function to preload the file sources you define in an array.
http://pastebin.com/m26ec3948