Jump to content

Archived

This topic is now archived and is closed to further replies.

dhavalshah.83

How To Do This Better

Recommended Posts

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 ?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.