for (int i = 0; i < image.length; i++) {
if (DelayTime[i] > 1000) {
for (int j = 0; j < (DelayTime[i]) / 1000; j++) {
Frame frame = movie.appendFrame();
frame.placeSymbol(image[i], 0, 0);
}
} else {
Frame frame = movie.appendFrame();
frame.placeSymbol(image[i], 0, 0);