Using mySQL info to control a movie clip

Ok, in a nuthsell I am looking to write a piece of actionscript using an included PHP file that connects to a mySQL databse. Depending on the result of the database, I want to know if its possible for the actionscript to then control a movie clip.

Ok I’m probably not making an awful lot of sense, so I’ll basicaly lay out what I want to perform (if it is at all possible).

The flash file will essentialy be a map of the world and will list certain ports (i.e. New York Harbour, London Harbour, Sydney Harbour). The flash file then connects to a database to find out if each harbour has a sailing ship present. If a ship is present at the harbour, a movie clip of a ship would be turned on for that particular harbour, if no ship is present the movie clip would remain hidden.

Is this possible and if so, how can it be done?

Thanks in advance :slight_smile: