<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" 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>Standard Flash Combobox question</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.emailstyle18
        {mso-style-name:emailstyle18;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</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-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>OK, I think you&#8217;ve got it:<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>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>When combo one changes, you can find out its value and then do
something like:<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>

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

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>if (cbo1.getValue() == 'sectionA')<o:p></o:p></span></p>

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

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

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

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>}<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>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>if (cbo1.getValue() == 'sectionB')<o:p></o:p></span></p>

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

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

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

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>}<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>

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

<p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US 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>Paul Swanson<br>
<b>Sent:</b> Thursday, November 05, 2009 11:25 PM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Standard Flash Combobox question<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Not
getting &#8230; setting. If you select the first item in combo 1, the options
available in combo 2 will be, say X, Y and Z. If you select the second item in
combo 1, the options available in combo 2 will Q, R and S. So I need to know
which item was selected in combo 1, and based on that value change the options
available in combo 2.<o:p></o:p></span></p>

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

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>And
you&#8217;re right. If I put my event code into the combo responses, it works
when the selection is made, just like I want it to. I didn&#8217;t do that
originally because initially I was just getting the selection and displaying it
in a text icon, just to see if I was doing it right, and it immediately
displayed the initial combo item in the text icon when the page opened. So I
thought I had to set up an event interaction to listen for a change. So
that&#8217;s sorted. I guess I&#8217;m the one who was missing something.&nbsp;
;o)<o:p></o:p></span></p>

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

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The
focus thing isn&#8217;t a big deal. I can set the initial selection index to
show the item I want. It doesn&#8217;t really <b><i>need</i></b> to be in
focus.<o:p></o:p></span></p>

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

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks!<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
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:0cm 0cm 0cm 4.0pt'>

<div>

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

<p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US 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> Thursday, November 05, 2009 2:55 PM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Standard Flash Combobox question<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<div id=idOWAReplyText36711>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>surely
any script attached to the combo responses is executed? Thos responses match
when the combo changes. Then you can use rsID.value (is is value? I'm never
sure), but you can grab the selections in script in the responses for the
combos...?</span><span lang=EN-US><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Am I missing something?
Why do you need to get the selections on a different interaction?</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
lang=EN-US>

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

</span></div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US
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> Thu 05/11/2009 22:14<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Standard Flash Combobox question</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Xerte&#8217;s
native combo. I don&#8217;t have Flash (maybe a bit of dash, tho). Using an rs
of combo1, I tried Selection.setSelection(combo1); and Selection.setSelection(&#8220;combo1&#8221;);,
but neither seem to work. I also tried using the id of the interaction. </span><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Maybe
something further down is stealing focus. I have, at this point, 3 combos; all
on separate interactions; all set to be perpetual. This is followed by script
icons to style the combos to match my screen shot (an almost perfect match!).
And that is followed by an interaction with several event responses that listen
for onKillFocus to grab the selections. Is there an event that fires when a
selection is made? I would rather not have to have the user Tab or click out of
the field before it changes the list items in the next combo. </span><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

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

<div>

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

<p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US 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> Thursday, November 05, 2009 1:43 PM<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] Standard Flash Combobox question</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

<div id=idOWAReplyText53988>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>I think
it is Selection.setSelection(cbo);</span><span lang=EN-US><o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US
style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Xerte's native combo?
Or one of your own?</span><span lang=EN-US><o:p></o:p></span></p>

</div>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
lang=EN-US>

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

</span></div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US
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> Thu 05/11/2009 17:31<br>
<b>To:</b> xerte@lists.nottingham.ac.uk<br>
<b>Subject:</b> [Xerte] Standard Flash Combobox question</span><span
lang=EN-US><o:p></o:p></span></p>

</div>

<div>

<p style='margin-left:36.0pt'><span lang=EN-US style='font-family:"Calibri","sans-serif"'>I&#8217;m
working on a software simulation</span><span lang=EN-US> </span><span
lang=EN-US style='font-family:"Calibri","sans-serif"'>in Xerte</span><span
lang=EN-US> </span><span lang=EN-US style='font-family:"Calibri","sans-serif"'>using
screen shots from our program, and layering Flash</span><span lang=EN-US> </span><span
lang=EN-US style='font-family:"Calibri","sans-serif"'>combobox controls on top.
I&#8217;ll be using checkboxes and other controls as well. It&#8217;s working
fine, but I would like to</span><span lang=EN-US> </span><span lang=EN-US
style='font-family:"Calibri","sans-serif"'>be able to set the focus to the
first control when the page opens. I see a setFocus() method for the V2
Components, but that doesn&#8217;t work for the regular</span><span lang=EN-US>
</span><span lang=EN-US style='font-family:"Calibri","sans-serif"'>FComboBox.
Is there a method for that? Also, is there an event I can listen for that fires
when a selection is made? I&#8217;m currently using onKillFocus, but I would
like to be able to do something like</span><span lang=EN-US> </span><span
lang=EN-US style='font-family:"Calibri","sans-serif"'>JavaScript&#8217;s
onChange event. I tried that, but Flash doesn&#8217;t</span><span lang=EN-US> </span><span
lang=EN-US style='font-family:"Calibri","sans-serif"'>seem to</span><span
lang=EN-US> </span><span lang=EN-US style='font-family:"Calibri","sans-serif"'>support
it.</span><span lang=EN-US><o:p></o:p></span></p>

<p style='margin-left:36.0pt'><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:gray'>_____________________________</span><span
lang=EN-US> <o:p></o:p></span></p>

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

</div>

</div>

</div>

</div>

</div>

</body>

</html>