Run a php file when flash loads

I am trying to figure out how to run a php file when a flash file is opened on a site or ran. the php file has no output or anything to do with the flash, it just needs to be run to update the mysql database. I need the script to be run from my site even if the flash is on another site, but i do not want to show that it is being run. I want it to be a hidden thing. Is there any way possible to do do this with flash?