The Animator object let each image load completely before displaying the next image by including an onLoad handler in the BODY tag for each image it writes to the screen.
When the Animator object’s toString() method, AnimatorString(), generates a new frame, it sets the ready flag in the object to n, meaning that the Animator is not ready to display a new frame. Once the image has loaded completely, the onLoad handler is called and sets the ready flag back to y.