Hello all. I was wondering if I could get some help on this
topic. I am trying to figure out a way to have a button jump to a
certain frame if pressed but then also jump to a different frame if
the button is held down for a certain time period, lets say 2
seconds. I am assuming I would have to use the Timer() function. My
logic is as follows;
If timer() == 2 secs
thanks for the quick response, I am using AS2. and i got it
to work. But I guess I worded it incorrectly. I only want the
button to jump to frame 37 in this case if the button is not held
down for 2 seconds. The way it is working now is that it jumps to
37 right when u press it and then if it is held for the time
duration then goes on to frame 15.
That might be hard to follow.
I want it to go to 37 if it is pressed and released quicker
than 2 seconds OR for it to go to frame 15 if it is pressed and
held down for 2 seconds.
yes it will be possible. communicating exactly what you're
after can sometimes be the difficult part.
think about answers for these questions.
what do you want to happen:
a. at the point where the user clicks the mouse
b. at the point where the user releases the mouse
c. two seconds after the user clicks the mouse, if the user
has not released the mouse
when you have clear answers to these questions the code will