Assuming that the items have been stored in arrays correctly, it should be as simple as:
for (var x = 0; x < image.length; x++) {
comp[x].layers.add(image[x]);
}
Assuming that the items have been stored in arrays correctly, it should be as simple as:
for (var x = 0; x < image.length; x++) {
comp[x].layers.add(image[x]);
}