[Xerte] Problems with key press interaction in Decision icon
Paul Swanson
Paul.Swanson at harlandfs.com
Fri Jul 17 21:53:36 BST 2009
I don't understand what you mean by don't try and handle it from
individual icons. Should I not use an event response? Do I use a script
icon with if (rootIcon.onKeyDown) { displayPromt.nextPage(); } in a
framework entry pane?
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, July 17, 2009 1:37 PM
To: Xerte discussion list
Subject: RE: [Xerte] Problems with key press interaction in Decision
icon
you should handle rootIcon.onKeyDown, don't try and handle it from
individual icons.
________________________________
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Paul Swanson
Sent: Fri 17/07/2009 19:03
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Problems with key press interaction in Decision icon
I'm having problems using an onKeyDown event to move to the next page of
a Decision icon. It works on the first page, but on the second page,
when you press a key, the Decision icon goes wacko and zips instantly
through the rest of the pages and then seems to loop on the icons that
follow the Decision icon. I haven't even put onKeyDown events yet on the
Decision icon pages that zip through - those have timed events (which I
am attempting to change to "press any key to continue" onKeyDown
events).
Properties of my Decision icon:
id: displayPrompts
repeat: all
branch: sequence
pause: 1
erase: 0
eraseOnExit: 0
The keypress interaction is NOT perpetual.
Properties of the event response:
eventName: onKeyDown
icon: rootIcon
erase: 1
exit: 0
Contents of script icon attached to event response:
displayPrompts.nextPage();
Is there some way to set KeyDown to FALSE or something? Any advise
appreciated.
_____________________________
Paul Swanson
Instructional Designer
Harland Financial Solutions
Paul.Swanson at harlandfs.com
_____________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090717/5381fa07/attachment.html
More information about the Xerte
mailing list