would it be possible to have this poll system with the answeres horizintal instead of vertical?
thanks
Hello all !
FlepStudio has created a new Free Flash CS3 utility.
Thank you to manheman ( FlepStudio forum user ) for PHP side script.
We created a Flash CS3 polls system using PHP and XML.
The SWF allows the user to submit its vote and the XML will collect the data.
This utility shows vote results using a diagram and displays the percentage for each answer.
Just change the question of the poll into XML file, upload the XML and PHP files, change permissions to 777 and it's done !
You can custom the graphics through the FLA.
It also checks if user tries to vote twice because this polls system implements the SharedObject class of Actionscript 3.0 .
Let us see the polls system...
Read more...
Polls System
Flash CS3, PHP and XML
Description:
Flash CS3, PHP and XML polls system ( does not require a DataBase )
Files package :
main.fla
Main.as
LoadingXML.as
poll.xml
poll.php
package caurina ( Tweener by Zeh Fernando )
Source files:
Last edited by Flep; 05-06-08 at 17:09.
would it be possible to have this poll system with the answeres horizintal instead of vertical?
thanks
Hi,
you can't manage it.
I mean, let's say we get about 200 votes per answer.
You need 1200 width ...
the other thing is there are only 3 answers per poll
Hello,
I apologise in advance if this is a stupid question, i am very much a beginner.
Should I be pasting the php file somewhere in particular, or is it ok in the same folder as the flash and xml files?
I am testing it on my local machine and when i vote the message to say the vote is being saved is staying on continuously, suggesting that the php file is not being written to properly.
I am trying to figure out if it is a permissions issue or something else.
Thanks.
SADIE ...........the problem is php cannot be tested on a local machine.....it has to be tested on a server that has php installed (most do) ......there is another solution ...you can set up a local test server for php.....just do a google search and theres a lot written on it.......for example...... Setting up a local test server - test web server - local web server - local server
zoom........why is there three answers only? you can have as many as you like ...jsut add the to the xml...im gonna look into modyfilying the poll and will get back to you in a bit as it is a good option..........
Thanks Maldor, i will look into that, once done would the php file have to go in the cgi-bin or php folder, or should it be ok where it is?
Thanks
its ok where it is....just in the same folder as the swf file..........
Hello again,
I have successfully installed php on my local machine, and i have my poll.php in the same file as poll.xml and the swf file, and i still cant get it to work. When i vote it just says saving response, no errors, it seems that the php and xml files are not communicating with each other correctly. Is there any code I should change. Also how can i remove the cookie so i can vote continuously. Sorry if i appear stupid.
Thanks.
Bookmarks