From my understanding, variables aren't passed directly to flash files - the flash file goes out an dretrieves the info.
If you are trying to pass a value to a file that calls to a flash file, and that flash file is set to load a variable from that page, then yes, you would link to the file as such:
<a href="whatever.php?var=<? echo $var; ?>">
-=Lazzerous=-