Animation.getNumFrames
From Spheriki
Get the number of frames this animation consists of.
Contents |
Usage
Examples
var anim = LoadAnimation("animationfile.fli"); //Autodesk FLI animation file
var frames = anim.getNumFrames();
Notes
API.txt states this won't work on MNG animations, and return 0 instead. Does this still hold true with Sphere 1.5 and above?