Name: noko 2007-11-20 21:18
for(i=0,l=books.length;i<l;i++){
clips.push(_root.createEmptyMovieClip("clip"+i,1).loadMovie(books[i][1], 1));
}
trace(clips[0]._x);
---
For some reason the trace prints 'undefined'. books[i][1] is an image url; Only 1 image loads though, and I can't move them because they all become 'undefined' in the array. Advice?
clips.push(_root.createEmptyMovieClip("clip"+i,1).loadMovie(books[i][1], 1));
}
trace(clips[0]._x);
---
For some reason the trace prints 'undefined'. books[i][1] is an image url; Only 1 image loads though, and I can't move them because they all become 'undefined' in the array. Advice?