Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Polls System

This is a discussion on Polls System within the FlepStudio utilities forums, part of the Tutorials category; Hello all ! FlepStudio has created a new Free Flash CS3 utility . Thank you to manheman ( FlepStudio forum user ) for PHP ...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Tutorials > FlepStudio utilities

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 17-12-07, 05:49
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,352
Blog Entries: 1
Rep Power: 6
Flep is on a distinguished road
Polls System

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:
Attached Files
File Type: zip PollsSystem.zip (676.8 KB, 402 views)


Last edited by Flep; 05-06-08 at 17:09.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 02-01-08, 16:52
Junior Member
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0
zoom4267 is on a distinguished road
Question Re: Polls System

would it be possible to have this poll system with the answeres horizintal instead of vertical?

thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-01-08, 17:59
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,352
Blog Entries: 1
Rep Power: 6
Flep is on a distinguished road
Re: Polls System

Hi,
you can't manage it.
I mean, let's say we get about 200 votes per answer.
You need 1200 width ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-01-08, 18:58
Junior Member
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0
zoom4267 is on a distinguished road
Re: Polls System

Quote:
Originally Posted by Flep View Post
Hi,
you can't manage it.
I mean, let's say we get about 200 votes per answer.
You need 1200 width ...

good point. my client really wants the poll to have the answeres horisontal

is there a way to adjust the restult bar to shorten it? the poll wont be up for ever, they will be changing.

thanks for the quick reply
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-01-08, 00:32
Junior Member
 
Join Date: Jan 2008
Posts: 3
Rep Power: 0
zoom4267 is on a distinguished road
Re: Polls System

the other thing is there are only 3 answers per poll
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

photoFlow

  #6 (permalink)  
Old 30-01-08, 12:08
Junior Member
 
Join Date: Jan 2008
Posts: 6
Rep Power: 0
sadiesunglow is on a distinguished road
Re: Polls System

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 30-01-08, 12:41
Member
 
Join Date: Jan 2008
Posts: 38
Rep Power: 0
Maldor is on a distinguished road
Re: Polls System

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..........
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 30-01-08, 13:02
Junior Member
 
Join Date: Jan 2008
Posts: 6
Rep Power: 0
sadiesunglow is on a distinguished road
Re: Polls System

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 30-01-08, 14:26
Member
 
Join Date: Jan 2008
Posts: 38
Rep Power: 0
Maldor is on a distinguished road
Riferimento: Polls System

its ok where it is....just in the same folder as the swf file..........
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 31-01-08, 13:10
Junior Member
 
Join Date: Jan 2008
Posts: 6
Rep Power: 0
sadiesunglow is on a distinguished road
Re: Polls System

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Need help in navigation system rashid Flash CS3 eng 1 04-06-08 13:54
Need system registry software. spcez Off Topics 0 04-05-08 07:28
Eseguire un proiettore nella system tray bar rtrimarchi Actionscript 3.0 avanzato 0 28-09-07 12:40


All times are GMT. The time now is 06:24.


Powered by vBulletin versione 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406