GoodBoyDigital/pixi.js — pull request #315 by MikkoH (2013-09-06 19:20:57+00:00)
Title: Added totalframes to MovieClip

Currently the only way you can find out the total number of frames in a MovieClip is by checking the length of the textures array.

Just added a getter called totalFrames to help with this. Since a lot of the PIXI library mimics the AS3 figured it doesn't hurt to add in totalFrames. Actually I was immediately looking for it since we have currentframe.