Loading variables to a local maschine

I want to make a dynamic desktop in flash that uses php and mysql or xml to load variables to the users maschine.

If I test the movie in macromedia 2004 everything works fine and the movie can load the variables, but when I export it and try it in a browser it writes out undefined. When I try it with flash player it’s good again. As I know flash can acces data from anywhere if it runs on a local maschine. I used CrossDomainPolicy too. I have a firevall but nothing changes when I turn it off. If I run it in flash player the firevall alerts but I can’t use this for a dynamic desktop. I want to know if there’s a way to acces stuf with flash from behind a firevall or just send something to the firevall so it will ask if I want to allow it or not.
Or somehow make my movie acces the domain where the data is. I don’t care how.
The thing is that I need to get data in my flash when it runs on local maschines even if it’s behind a firevall. I don’t want to hack no firewall just make the firewall recodnise that I am trying to connect with flash to a domain.
If anyone has any ide please write it in becouse I have no idea.

//-----THANKS-----//