On 14 huhti, 23:50, hamburger <[email protected]> wrote:
> thx for your comment.
> thats mean that my workaround is ok?
> or is there another better way?
>

Yes, there is: use Array.map

http://mootools.net/docs/core/Native/Array#Array:map

var images = ...
var files = images.map( function(img) { return img.file; } );

var loader = Asset.images(files ...)

Hope this helps!


- plouh


-- 
Subscription settings: 
http://groups.google.com/group/mootools-users/subscribe?hl=en

Reply via email to