A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: measure how long button (or clip!) is pressed for

  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    37

    measure how long button (or clip!) is pressed for

    Does anybody know a simple way of measuring how long a button has been pressed for - had a look at gettimer but this seems to be an odd way of doing things - basically i want to say

    onclick start timing -
    offclick end timing

    var time = time button was pressed!

    any ideas much appreciated.. thanks - and if there is a simple solution (FOR ONCE!) that would be really cool!

  2. #2
    [sleep.less.ness] euphoricGenius's Avatar
    Join Date
    Jan 2003
    Location
    insomnia
    Posts
    344
    i rembered a thread i answered some time ago

    http://www.flashkit.com/board/showth...hreadid=471124

    eG
     Beware Of Programmers Who Carry A Screwdriver

  3. #3
    [sleep.less.ness] euphoricGenius's Avatar
    Join Date
    Jan 2003
    Location
    insomnia
    Posts
    344
    Heres the file if you dont want to read the dialog.


    eG
    Attached Files Attached Files
     Beware Of Programmers Who Carry A Screwdriver

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center