Example: Flash Remoting

This is an impressive example of using Flash Remoting. Typical Flash files show fancy animations or show menus and information. The problem is that the information is static ie doesnt change once written. Flash Remoting allows for the Flash file to be constantly in touch with the web server so that new information automatically appears in the Flash file.

In the example above, when you click on a name or time, the flash file then communicates with the server by sending a request for information to a script on the server. This script then (in this case) retrieves details from a database and returns the results directly to the Flash file, which Flash then uses to show the results. Note this is not using web services ie plain XML, so the data sent is in binary format which gives it a performance advantage especially when dealing with large data sets. I am not using LoadVars here either.

A practical use could be for:
- an online shopping service, where products/prices would all be constantly up to date
- showing a map of a yacht race, with images of yachts on the map in the correct location in real time
- a live sports scoreboard