I've used a preload() method:
preload('img-1','img-2',...,'img-num')
Which works fine. But now I wanted to place all that parameters in an array, so which would go like this now:
var myArray = ['img-1','img-2',...,'img-num'];
preload(myArray)
But obviously this is wrong method as preload is to load the parameters separated by comman not the array which combine all parameters.
So, I'm very much curious to know if there is something to do?
See Question&Answers more detail:os