Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: [flasher] FW: RE: CAN IT BE DONE
From: Paul Willoughby
Date: Fri, 09 Mar 2001 16:12:17 -0000

Ian Richardson wrote:
> to progress to the next frame i have a next
> button ( fairly
> logical) but my client wants the user to be able to press
> enter/return and
> then progress.. any ideas. thanks BTW, if i had any hair it
> would be pulled
> out by now, can't find a way to do it, almost a week now and still no
> further on.. cheers

A solid way to capture a press on the enter key is to use the on(keypress)
action for buttons. For your 'next' button, try something like:

on (release, keyPress "<Enter>") {
play():
// assuming you have a stop action on every frame
}

hth

paul



[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]