A method of displaying a long animation is provided. The animation is
defined in an animation file, which identifies a set of images that form
the animation when sequentially displayed. A batch processor segments the
set of images into sequential subsets, with each subset sized smaller
than a maximum size. In this way, all of the images identified in a
particular subset may be loaded into memory. Each subset of images is
associated with a respective segment identifier, and an instruction is
provided along with the images to order the subsets. In this way, a first
subset of images provides for the loading of a second subset of images,
thereby enabling the display of long animations.