Since Flash can both accept in variables and post to pages with variable, you only need PHP. On the last frame or where the user says, "I'm done moving my furniture around," post the variables to a php page. Here you can insert them into your database. Then you can redirect them back to the flash or send them somewhere else.