Animated Sprite Name/Frame Extraction

Added code to extract the animated sprite name and frame index from the
image filename.