Author: Jeffrey Hill Help/Support: http://www.flash-db.com/Board/ Installation Instructions and Information Application: Flash MX Voting Booth and Charting Components Flash MX Required (I'm not a big fan of MX - so don't go out and buy it just cause of this). PHP and MySQL are also required. It will run on any Operating system that has these two items installed. Flash Charting Components and Macromedia Extension Manager is also needed for editing the Charts. You can get them Here: http://dynamic.macromedia.com/bin/MM/exchange/main.jsp?product=flash ## Setting up the PHP and SQL ## 1) Upload all PHP files to a folder on your server. You can call this 'Poll' for example. This has to be on a Server - either your local server on your own computer - Or to your server provided by a hosting company. Here is some more information so you can test this locally: http://www.flash-db.com/ApachePHPSQL/ 2) Use PHPMyAdmin (or whatever you prefer) to import the SQL contained in the PollSQL file to your MySQL database. This is not as complex as it sounds. PHPMyAdmin makes this really easy - Just start PHPMyAdmin then find the area that says something like "Run SQL query/queries on database Flash" - Copy and Paste the Text from the PollSQL file and Hit the Go Button. That's It. 3) You will want to change around the "Insert" commands in the SQL (so you can set your own Questions/Answers) - It's probably best that you use PHPMyAdmin as the interface for this. You can choose 'edit' to change around all the questions and answers - and 'Insert new row' to add your own Questions and Answers. The PollName is what appears in the drop down menu - the Question and Answers should be obvious as to where they are. 4) *** Edit the 'Connect.php' file *** and change the settings to reflect your own MySQL account (by setting the UserName/Password and Database Name). If your using an Online host they will have given you this information. ## Setting up the Flash Side ## 1) Review the comments on the Actions and ReadMe Layers. Their is a bunch of info here. In the Actions Layer Comments you can change the global path to the PHP files - So you can easily change where the Action SWF is located on your server. You can also change some other settings. Leave this setting blank if everything is in the same directory. If the PHP files are located somewhere other then the same directory you will have to set this path to something like: http://localhost/Poll/ for example. 2) The functions layer contains all of the functions for the Movie - This is the most important part. 3) The Chart Components could use some help - I didn't spend to much time on them and they are basically the default ones from the charting components on the Macromedia Exchange. ################### That's About it: If you have any questions feel free to ask them at: http://www.flash-db.com/Board/ Credits: Jeffrey Hill www.flash-db.com License: Use this for anything - If you use it for commercial purposes - please make a donation at: http://www.flash-db.com/Poll/