add gotoFrameAndPlay and setCurrentFrame interface