1 Reply Latest reply on Jul 30, 2007 7:32 AM by kglad

    attempting to creat an average in a dynamic text field

    opelfoto Level 1
      I have 10 buttons on my stage, i am attempting to give them actionscript so that when each is clicked, the number clicked is recorded in a dynamic text field as an average vote. For instance, one person clicks a 6, it is then recorded and saved. Then next person clicks an 8, it is recorded, yet a 7 is displayed to show the average of the two votes.
      I also would like that all of the buttons have an actionscript that adds 1 count to the "number of votes" dynamic text field.
      I realize I need to do some php scripting, but I am a newbie, and haven't even figured out how to set up a table in MySQL, or phpmyadmin.
      Can anybody help?
      Thanks
      COpel