Fixed a bug where FrameData.getFrameIndexes ignores the input parameter.

I posted details of the problem I encountered at:

http://www.html5gamedevs.com/topic/1426-sprite-animation-play-only-frames-1-to-x-numeric-index/