<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Problems with key press interaction in Decision icon</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1772626320;
        mso-list-template-ids:-1997872772;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l1
        {mso-list-id:1907763052;
        mso-list-template-ids:617119088;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l2
        {mso-list-id:1916621240;
        mso-list-template-ids:-2061464372;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l2:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I don&#8217;t understand what you mean by don&#8217;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?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br>
<b>Sent:</b> Friday, July 17, 2009 1:37 PM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Problems with key press interaction in Decision
icon<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div id=idOWAReplyText91385>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>you should handle rootIcon.onKeyDown, don't try and handle it from
individual icons.</span><o:p></o:p></p>

</div>

</div>

<div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk on
behalf of Paul Swanson<br>
<b>Sent:</b> Fri 17/07/2009 19:03<br>
<b>To:</b> xerte@lists.nottingham.ac.uk<br>
<b>Subject:</b> [Xerte] Problems with key press interaction in Decision icon</span><o:p></o:p></p>

</div>

<div>

<p><span style='font-family:"Calibri","sans-serif"'>I&#8217;m having problems
using</span> <span style='font-family:"Calibri","sans-serif"'>an</span> <span
style='font-family:"Calibri","sans-serif"'>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</span> <span
style='font-family:"Calibri","sans-serif"'>zips instantly through the rest of
the pages and then seems to loop on the icons that follow</span> <span
style='font-family:"Calibri","sans-serif"'>the Decision icon.</span> <span
style='font-family:"Calibri","sans-serif"'>I haven&#8217;t even put onKeyDown
events yet on the Decision icon pages that zip through</span> <span
style='font-family:"Calibri","sans-serif"'>&#8211; those have timed events
(which I am attempting to change to</span> <span style='font-family:"Calibri","sans-serif"'>&#8220;press
any key to continue&#8221; onKeyDown events).</span><o:p></o:p></p>

<p><span style='font-family:"Calibri","sans-serif"'>Properties of my Decision
icon:</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>id:
displayPrompts</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>repeat:
all</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>branch:
sequence</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>pause:
1</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>erase:
0</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>eraseOnExit:
0</span><o:p></o:p></p>

<p><span style='font-family:"Calibri","sans-serif"'>The keypress interaction is
NOT perpetual.</span><o:p></o:p></p>

<p><span style='font-family:"Calibri","sans-serif"'>Properties of the event
response:</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>eventName:
onKeyDown</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>icon:
rootIcon</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>erase:
1</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>exit:
0</span><o:p></o:p></p>

<p><span style='font-family:"Calibri","sans-serif"'>Contents of script icon
attached to event response:</span><o:p></o:p></p>

<p style='margin-left:1.0in'><span style='font-family:"Calibri","sans-serif"'>displayPrompts.nextPage();</span><o:p></o:p></p>

<p><span style='font-family:"Calibri","sans-serif"'>Is there some way to set
KeyDown to FALSE or something? Any advise appreciated.</span><o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Courier New";color:gray'>_____________________________</span>
<o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:gray'>&nbsp;</span><span
style='font-size:10.0pt;font-family:"Courier New";color:gray'>Paul Swanson</span><span
style='font-family:"Calibri","sans-serif"'><br>
</span><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:gray'>&nbsp;</span><span style='font-size:10.0pt;font-family:"Courier New";
color:gray'>Instructional Designer</span><span style='font-family:"Calibri","sans-serif"'><br>
</span><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:gray'>&nbsp;</span><span style='font-size:10.0pt;font-family:"Courier New";
color:gray'>Harland Financial Solutions</span><span style='font-family:"Calibri","sans-serif"'><br>
</span><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";
color:gray'>&nbsp;</span><span style='font-size:10.0pt;font-family:"Courier New";
color:gray'>Paul.Swanson@harlandfs.com</span><span style='font-family:"Calibri","sans-serif"'><br>
</span><span style='font-size:10.0pt;font-family:"Courier New";color:gray'>_____________________________</span><span
style='font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p>

</div>

</div>

</div>

</body>

</html>