2 Replies Latest reply on Jul 10, 2006 2:14 AM by Newsgroup_User

    Button click count

    prachis Level 1
      I have one button in my application. I want to check how many time the buttion is clicked in a day / in total and print the count somewhere. Or create the log file for that.
      Can anyone help me for this?
        • 1. Re: Button click count
          Level 7


          prachis wrote:
          > I have one button in my application. I want to check how many time the buttion
          > is clicked in a day / in total and print the count somewhere. Or create the log
          > file for that.
          > Can anyone help me for this?

          you can't do it with flash itself. You need server side like ASP or PHP to write that
          record in some text format on server.
          I would suggest look in the forum archives or google for "flash counter", is the same
          thing except counter is execute upon frame entering once the file is loaded, all you need
          to do is simply apply the very same action to a button so whenever someone click, it will
          add on a record.



          --
          Regards

          Urami


          --



          Happy New Year guys - all the best there is in the 2006 :)




          <urami>
          http://www.Flashfugitive.com
          </urami>

          <web junk free>
          http://www.firefox.com
          </web junk free>
          • 2. Re: Button click count
            fdarweesh Level 1
            in addition to flash you need serverside scripting
            in order to send and store information at the server side

            refer to this sample and modify it according to your requirments

            Flash ASP sample

            wish this help

            Firas Darweesh