 <p>Change the main funciton:</p> <pre><code> public function Main() { generateField(); initTetrominoes(); nextTetromino=Math.floor(Math.random()*3); stage.addEventListener(KeyboardEvent.KEY_DOWN,onKDown); } // add new funciton private function start():void { generateTetromino(); } // edit the keydown callback to listen for the space bar - add it first in front of 37 case 32 : start(); break; </code></pre>