PHP to XML to Flash

Hi All,

I am going to build a website Admin Panel which will generate entries of different countries, cities, their locations etc etc…, to a Flash application. So to make the compatibility between Flash and PHP, XML will be generated and from the XML file entries will be populated in Flash app. Whenever flash will access the xml file it should be generated on the run-time.

There will be plenty of traffic on that flash app so can you guys please guide me how to handle this ? like should i lock the file ? or by any other way which is better to handle these sort of situations.

Thanks