Hello, i have got problems with adding an expanded array to
Asset.images.
Here my array:
var images =[
{ 'file' : '1.jpg', 'number' : 100, 'description':
'beschreibung1'},
{ 'file' : '2.jpg', 'number' : 200, 'description':
'beschreibung2'},
{ 'file' : '3.jpg', 'number' : 300, 'description':
'beschreibung3'},
{ 'file' : '4.jpg', 'number' : 400, 'description':
'beschreibung4'},
{ 'file' : '5.jpg', 'number' : 500, 'description':
'beschreibung5'}
];
my Code:
var loader = new Asset.images(images.file, {
onProgress: function(counter,index) {
alert("index: " + counter);
},
onError: function(counter,index) {
alert("error: " + counter + " / "+ index);
},
I expected to give the Array to Asset with <images.file> but i get an
error from the onError-function.
only pass <images> doesnt work either
any help?
with thanks in advance
--
To unsubscribe, reply using "remove me" as the subject.