boolean setFrameIndex ( int frame ) { if ( frame < INITIAL_FRAME_POINTER || frame >= getFrameCount ( ) ) { return false ; } framePointer = frame ; return true ; }
Sets the frame pointer to a specific frame