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

