Flash poling tool
Flash poling tool
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- kpl0
xml isn't necessary actually. nice in some situations but for simpler applications flash can parse url encoded data (variable=value&nextvar=nextval) via loadVariables().
soo...
- first set up a form so people can vote.
- pass that vote along to a cgi script using loadVariable(). the cgi will get the vote via the URL ('?vote=1' at the end of the URL) and add it to it's database. It then returns the vote totals in text/plain form, url-encoded.
(ie. vote0=1&vote1=3024)
- flash gets those variables parsed, and renders the total votes frame.simple! i'm sure there are plenty of blanks here you can fill in.