In the sprite API documentation, I see there is a “loopCount” value to control looping:
http://developer.anscamobile.com/reference/index/spriteadd
However the documentation only describes how to set the number of loops and not how to play through without looping, stopping on the last frame.
I suppose I can put an event listener on the sprite, checking the frame number as it plays and then calling pause() when it’s on the last frame, but that seems like a really clunky approach. Is there already built-in functionality to do this? [import]uid: 12108 topic_id: 4538 reply_id: 304538[/import]