So that first page sets the name. You might want to use:
echo('<input type="hidden" name="game_name" value="'.$row['game_name'].'" />');
Then in the next page, when displaying the swfobject code, <embed> or <object>, use:
in place of your swf file.