To make flash 'see' variables you have to make it like:
&access=1
so you can test the connection between flash and php with
<?
echo "&access=1";
?>
and nothing more, when you get flash working with this, then create the correct function in the phpfile to set the access variable
g'luck