thx for your comment. thats mean that my workaround is ok? or is there another better way?
On 14 Apr., 21:05, Sanford Whiteman <[email protected]> wrote: > > 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'} > > ]; > > var loader = new Asset.images(images.file > > There is no `images.file`. > > `images` is an array of objects; each object has a property `file`. > Hence `images[0].file`, `images[1].file`, etc. exist but that is not > the same as `images.file` containing all the files. > > -- S. -- To unsubscribe, reply using "remove me" as the subject.
