example4: animation key frames now use ms