dhavalshah.83 Posted June 9, 2006 Share Posted June 9, 2006 I am currently woring on a project wich involves Flash, XML, MySql, PHP. I have to populate flash map with countries & upon clicking cities from the database. But the thing is the cities can keep on changing, some may be deleted & new ones can be added. So the solution i have developed revolves around rewriting the city.xml when a country is clicked.Is there a better solution, something that will directly pass values to the flash file without writing to the file itself & save me some valuble I/O time ? Link to comment https://forums.phpfreaks.com/topic/11576-how-to-do-this-better/ Share on other sites More sharing options...
ober Posted June 9, 2006 Share Posted June 9, 2006 The only thing I can suggest without knowing more about the project is possibly using AJAX in the background to do some of the updates behind the scenes. Link to comment https://forums.phpfreaks.com/topic/11576-how-to-do-this-better/#findComment-43618 Share on other sites More sharing options...
Fyorl Posted June 9, 2006 Share Posted June 9, 2006 when generating the HTML for embedding the flash file, you could use php to pull values from the database about cities and write them into the <param> tags. Link to comment https://forums.phpfreaks.com/topic/11576-how-to-do-this-better/#findComment-43624 Share on other sites More sharing options...
.josh Posted June 9, 2006 Share Posted June 9, 2006 and use loadvars in your actionscript to retrieve it. Link to comment https://forums.phpfreaks.com/topic/11576-how-to-do-this-better/#findComment-43722 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.