AnimationPlayer JS class updated

[UPDATE March 9,2001- After using this approach for some time now, i have to say there is one drawback which is unavoidable : the fact that each image is a separate GET request and this adds a bit of overhead. It is still the best solution i know about though]

I added a few new methods to make the class more user-friendly.

Now, you can also define the frames with a new method:

addFrame(url,duration);

For a working example and comparison with an equivalent animated gif, visit http://www.piterwilson-toys.com/wcsmt2/animationPlayer.php