ImageSequenceDataPool mImageSequenceDataPool;
String name = "Grafics"+File.separator+tileData.getImageDataFile();
mImageSequenceDataPool = new ImageSequenceDataPool(name);
ImageSequenceData mData = mImageSequenceDataPool.get(tileData.getImageDataName());
Vector<Image> images = new Vector<Image>();
Vector <BaseImageData> mBData = BaseImageData.toBase(mData);
for (int i = 0; i < mBData.size(); i++)
{
BaseImageData baseImageData = mBData.elementAt(i);
images.addElement(baseImageData.image);
}
work.setImages(images);
work.setScaled(true, 22,22);
work.setDelay(mData.getDelay());
work.setVisible(true);
}