|
From: Anouk123 on 26 Jan 2008 16:34 I am working on a task where participants have to press a key 'S' or 'K' as soon as possible, depending on the symbol that appears on the screen. Right now I have an interaction icon with a calculation icon attached to it, but when I press the 'S' or 'K' button, I still have to press the 'enter'-button to continue the flowline... How can I exit an interaction by pressing a certain key (S or K) AND at the same time saving this input, without having to press the 'enter'-key??? I have tried all day, even with the authorware helppages, but I just can't find the solution. Please help me! Kind regards, Anouk
From: Chris Forecast on 26 Jan 2008 16:40 "Anouk123" <webforumsuser(a)macromedia.com> wrote in message news:fng91k$5lo$1(a)forums.macromedia.com... >I am working on a task where participants have to press a key 'S' or 'K' as > soon as possible, depending on the symbol that appears on the screen. > Right now I have an interaction icon with a calculation icon attached to > it, but when I press the 'S' or 'K' button, I still have to press the > 'enter'-button to continue the flowline... How can I exit an interaction > by pressing a certain key (S or K) AND at the same time saving this input, > without having to press the 'enter'-key??? > I have tried all day, even with the authorware helppages, but I just can't > find the solution. Please help me! Take a look at Keypress responses. Chris Forecast
From: Anouk123 on 27 Jan 2008 04:44 I have looked at the keypress responses, but I am not that familiar with authorware and I just can't seem to get it right... When I follow the steps described in the helppages, concerning the keypress responses (which are difficult to follow when you're not very familiar with authorware), I get stuck in the interaction. Enter is no longer needed, but I can't exit the interaction with the keys I selected. It seems so simple, but it just doesn't work!!!!! Which actions do I have to take exactly to make this work??? kind regards, Anouk
From: Anouk123 on 27 Jan 2008 04:54 And what function do I use in the calculation icon? 'variablename' := ?????????
From: Chris Forecast on 27 Jan 2008 05:17 "Anouk123" <webforumsuser(a)macromedia.com> wrote in message news:fnhjqc$ibv$1(a)forums.macromedia.com... >I have looked at the keypress responses, but I am not that familiar with > authorware and I just can't seem to get it right... When I follow the > steps described in the helppages, concerning the keypress responses (which > are difficult to follow when you're not very familiar with authorware), I > get stuck in the interaction. Enter is no longer needed, but I can't exit > the interaction with the keys I selected. It seems so simple, but it just > doesn't work!!!!! Which actions do I have to take exactly to make this > work??? 1. Place an Interaction Icon on the flowline. 2. Drag a Calc Icon to the right of that Interaction Icon. 3. Open up that Calc Icon and type: keypressed:=Key 4. Set the Response type to: Keypress Set Keys to: K|S (or if you want to capture both upper and lower case K|k|S|s) Set Branch to: Exit Interaction Now when you press one of those keys keypress will get set to the value of the key pressed and it'll exit the interaction. HTH Chris Forecast
|
Next
|
Last
Pages: 1 2 Prev: Repeat Statement not Working Next: saving input in a repeating decision icon |