Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Writing the computer's time in a txt file everytime the user clicks a button

New Here ,
Sep 30, 2015 Sep 30, 2015

Hello everyone,

I'm a research student and I want to run a point&click study when everytime the user clicks a specific button I can have the exactly time (milliseconds) it happened... How can I use actionscript 2 to create a txt file with this data?

Could someone help me please? I think it's not that difficult but I can't figure it out... I use Flash CS6

Thanks!

TOPICS
ActionScript
600
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 30, 2015 Sep 30, 2015

is this a web-based app that will be running on a server?  does this have to a be a txt file?

if yes and yes, you'll need to use server-side script and this will be more difficult than coding needed if the answer to the 2nd question is no and a sharedobject can be used to store those data.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 01, 2015 Oct 01, 2015
LATEST

I was once in Ireland and I got lost. I stopped by an old stone wall and asked the farmer "How do I get to Dublin"?

He thought of a moment, scratched his beard then said "Well, I wouldn't start from here if I were you".

The moral is, unless you need the special qualities that Flash offers it would probably be a lot easier to do this with a mixture of html and php and,

if you're a student it should be dead easy for you to find a couple of geeks around college who will knock it up for you in minutes.

However.... If you have to use Flash or are just determined to then it's really not that hard and I'll help you do it.

My question is do you want to know (in milliseconds) how long the user waits to click since starting the test / game / experience, or how long between each click,

or something else - what exactly are you trying to measure?

Best wishes

Tony

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines