on 10/6/05 12:47 PM, Diego Landro at [EMAIL PROTECTED] wrote:
> Well you could erase the part about while the mousedown, if you just want
> the child to go one by one, the following should work:
>
> on mouseDown me
> go to the frame + 1
> end
>
> if, on the other hand, you want the child to be able to move JUST one frame
> no matter how many times he has pushed the button, you should erase the
> behavior from the button sprite when you click on it, thus allowing the
> child to click as many times as he wants, start a timer , say for 5 secs,
> and then reattach the behavior to the button sprite. This is the only way i
> can think of right now for avoiding multiple clicks resulting in multiple
> jumping from one frame to the next. Other thing is change the "next" button
> between one frame and the next, but this could be a little confusing,
> especially if we´re talking children as end users.
> Diego Landro
This is simple and does the trick.
on mouseDown
if the doubleClick then exit
startTimer
repeat while the mouseDown
end repeat
if the timer < 20 then
exit
end if
go to the frame + 1
end
Instead of 20, you can set a variable then globally change the timing
sequence, however you want it. You use this for all your arrows, test the
timing and set the variable.
L8R,
John
===================================================
John R. Sweeney Jr. ([EMAIL PROTECTED])
Interactive Multimedia Developer/
Digital Media Specialist
OnDemand - Interactive, Inc.
847.651.4469 (cell) 847.310.5959 (office/fax)
===================================================
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]