thx plouh,
i have seen the function but i understood it wrong in the past.
now i got it.

thanks for making me smarter ...


On 16 Apr., 11:38, plouh <[email protected]> wrote:
> 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