Do you know how to make a poll meter?
Then I mean: I someone pushes button RED the left bar goes at 100% and the Right Bar goes to 0%.
Then there is pushed again; This time the Left bar goes to 50% and the right bar goes to 50%, And so on....
I assume you want to poll several different people that visit your site. Flash alone can't save variables to a file, so you won't be able to keep track of all the votes unless you use database / scripting. maybe take this question over to that area of the message boards.
As for drawing the actual poll meter, the solution above is fine. Make two bars, both going to 100%. The set property ("no", Y Scale) = no / (no+yes) and set property ("yes", Y Scale) = yes / (no+yes)