Here's a link to open the TowerDefense Flash application in another window.
here's an example of the kinds of things you can do with Action Script 3. I have used FlashDevelop and PaperVision3D which are both open source. (Here's another example too)
here is a listing of the php script to copy a directory structure and prefix all the tables:
There are various problems and alternative solutions to getting a dynamic site running from CD (or hard disk) This is just one..