Actualy, I am not completely sure what your problem is. What do you mean by "the translation (Flash/PHP)"?
I thought you don't knoq how to pass variables from a PHP page to Flash movie located on the same page.
One of the method is using GET parameters:
<OBJECT .....
<PARAM NAME=movie VALUE="test.swf?id=<?php echo $id; ?>">
....
</OBJECT>
And then you can use _root.id variable inside your swf file.
For example, you can make a button to go to URL like that:
getURL("another_page.php?id="+root.id, "self");
Another way to get variables is to make a query with loadVariables. But this one is good to obtain some permanent data from the database or file. It is not suitable for current GET variables of the PHP script.