Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added totalframes to MovieClip #315

Merged
merged 1 commit into from
Sep 28, 2013
Merged

Added totalframes to MovieClip #315

merged 1 commit into from
Sep 28, 2013

Conversation

mikkoh
Copy link
Contributor

@mikkoh mikkoh commented Sep 6, 2013

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.

englercj added a commit that referenced this pull request Sep 28, 2013
Added totalframes to MovieClip
@englercj englercj merged commit 9c0df57 into pixijs:dev Sep 28, 2013
@lock
Copy link

lock bot commented Feb 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants