<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]-->
<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";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
-->
</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=WordSection1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If the checkbox hasn&#8217;t been created yet, yes, unless you have
cboxArray left over from a previous page?<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:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>SCR //make your checkboxes</span><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:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>INT<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>&nbsp; PROTITEMS MADE HERE //set perpetual 1<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>SCR //check the checkboxes here?<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'>I do it this way: you know where you are then. The only problem
is when you need the interaction to not be perpetual.<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>Dave Burnett<br>
<b>Sent:</b> 29 September 2010 22:43<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] check then disable checkbox<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='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
Shouldn't this fail then:<br>
<br>
engine[cboxArray[0]].setEnabled(false);<br>
<br>
I'm addressing the rs, not the XML right?<br>
<br>
<br>
<br>
<br>
<o:p></o:p></span></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

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

</span></div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:
Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Wed, 29 Sep 2010 22:35:17 +0100<br>
Subject: RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>Beforehand, when you
duplicate(), you have only .xml.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>Afterwards come the MovieClips.<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div id=ecxdivRpF276633>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

<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 style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> xerte-bounces@lists.nottingham.ac.uk
[xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett
[d_b_burnett@hotmail.com]<br>
<b>Sent:</b> 29 September 2010 22:34<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><br>
That's exactly what works of course.<br>
<br>
I just got stubborn and wanted to try to do it all in the creation SCR.<br>
Came close. They can be set disabled, but the checked thing must require a
longer delay.<br>
I just didn't understand why I could dupe then set labels no problem. That's
the way someone set it up ;-)<br>
And then disabling seemed to work.<br>
But it fell over on the checkmarks.<br>
<br>
<o:p></o:p></span></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

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

</span></div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Wed, 29 Sep 2010 22:03:43 +0100<br>
Subject: RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>Does this work<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>SCR //make yor checkboxes<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>INT<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp; PROTITEMS MADE HERE //set
perpetual 1<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>SCR //check the checkboxes here?<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>?<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div id=ecxdivRpF172269>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

<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 style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> xerte-bounces@lists.nottingham.ac.uk
[xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Julian Tenney
[Julian.Tenney@nottingham.ac.uk]<br>
<b>Sent:</b> 29 September 2010 21:38<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

</div>

<div>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>Yeah, that's a real pain. I've
hit a few of those. You've proved it is timing?<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>Can't we do it as they
instantiate? You want to select the checkboxes right off the bat?<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div id=ecxdivRpF75543>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

<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 style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> xerte-bounces@lists.nottingham.ac.uk
[xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett
[d_b_burnett@hotmail.com]<br>
<b>Sent:</b> 29 September 2010 21:14<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>&gt;Might be a timing issue <br>
<br>
Think you sussed it.<br>
<br>
All that time wasted, duh.<br>
Well at least I found the setCheckState(true) nugget.<br>
<br>
<o:p></o:p></span></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

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

</span></div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Wed, 29 Sep 2010 20:50:14 +0100<br>
Subject: RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>are you debugging out the
various bits and seeing what you expect?<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>inspect() reveal anything?<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>Might be a timing issue - can
you manually do that later, just to see?<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div id=ecxdivRpF461789>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

<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 style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> xerte-bounces@lists.nottingham.ac.uk
[xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett@hotmail.com]<br>
<b>Sent:</b> 29 September 2010 20:20<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><br>
I bumbled across this which appears to work:<br>
<br>
tempNode.attributes.rs = 'cbox' + icon.parentNode.index() + i;<br>
cboxArray.push(tempNode.attributes.rs);<br>
engine[cboxArray[0]].setCheckState(true);<br>
engine[cboxArray[0]].setEnabled(false);<br>
<br>
<br>
Now of course I can't finds the syntax or casting that will take a dynamic
index in the cboxArray<br>
<br>
e.g. <br>
engine[cboxArray[0]].setCheckState(true); //works<br>
engine[cboxArray[cboxArray.length-1]].setCheckState(true); //doesn't<br>
<br>
<br>
I hate AS.<br>
<br>
<o:p></o:p></span></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

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

</span></div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Wed, 29 Sep 2010 20:13:10 +0100<br>
Subject: RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>only buttons do setChecked. The
checkbox is a checkbox, not a button, i.e. it's not based on the
buttontemplate.fla<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

</div>

<div id=ecxdivRpF32058>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

<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 style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> xerte-bounces@lists.nottingham.ac.uk
[xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett
[d_b_burnett@hotmail.com]<br>
<b>Sent:</b> 29 September 2010 17:25<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>&gt;Then after the icons have been parsed you know how to get at
them. I think you know / do that already?<br>
<br>
Yes, doing that.<br>
<br>
But it bugs me why this is taking place:<br>
<br>
icon.nextSibling.firstChild.duplicate(x);<br>
tempNode.attributes.label = data.question[blah[i]];<br>
//set a dynamic rs<br>
tempNode.attributes.rs = 'cbox' + icon.parentNode.index() + i;<br>
<br>
//push that rs into an array<br>
cboxArray.push(tempNode.attributes.rs);<br>
<br>
//address the rs via engine<br>
<br>
engine[cboxArray[0]].setChecked(true,false); // does not work.<br>
<br>
engine[cboxArray[0]].setEnabled(false); //works, sets checkbox disabled<br>
<br>
I would have expected failures of both or neither<br>
<br>
:-?<br>
<br>
<br>
<br>
<o:p></o:p></span></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

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

</span></div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>

<p class=MsoNormal style='margin-left:72.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 29 September 2010 16:40<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> RE: [Xerte] check then disable checkbox</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'><o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:72.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Thanks Julian. I may be going at this all backwards though.<br>
<br>
Proto checkbox gets duped x times<br>
<br>
icon.nextSibling.firstChild.duplicate(x);<br>
<br>
Then next line of code sets checkbox labels<br>
tempNode.attributes.label = data.question[blah[i]];<br>
<br>
At this same stage should I also be able to set rs, then checked/enabled using
the rs value?<br>
<br>
<br>
<br>
<br>
<o:p></o:p></span></p>

<div style='margin-left:36.0pt'>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>

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

</span></div>

</div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:72.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Wed, 29 Sep 2010 15:11:50 +0100<br>
Subject: RE: [Xerte] check then disable checkbox<o:p></o:p></span></p>

<div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'>Go get the latest build from <a
href="http://www.nottingham.ac.uk/xerte/downloads/setup.exe" target="_blank">http://www.nottingham.ac.uk/xerte/downloads/setup.exe</a>
and you&#8217;ll find what you&#8217;re looking for.</span><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color'>

<p class=MsoNormal style='margin-left:108.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 29 September 2010 14:33<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] check then disable checkbox</span><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'><o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:108.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:108.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Probably missing something obvious as I'm re-wrapping my head
after holidays.<br>
<br>
Button off interaction has visible/enabled property.<br>
Not available for checkboxes, or is it inherited from superclass or something?<o:p></o:p></span></p>

</div>

<p class=MsoNormal style='margin-left:72.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'><br>
This message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do not use, copy
or disclose the information contained in this message or in any attachment. Any
views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham. <br>
This message has been checked for viruses but the contents of an attachment may
still contain software viruses which could damage your computer system: you are
advised to perform your own checks. Email communications with the University of
Nottingham may be monitored as permitted by UK legislation. <br>
<br>
_______________________________________________ Xerte mailing list
Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do not use, copy
or disclose the information contained in this message or in any attachment. Any
views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham. This message has been
checked for viruses but the contents of an attachment may still contain
software viruses which could damage your computer system: you are advised to
perform your own checks. Email communications with the University of Nottingham
may be monitored as permitted by UK legislation. <o:p></o:p></span></p>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'><br>
_______________________________________________ Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any
attachment are intended solely for the addressee and may contain confidential
information. If you have received this message in error, please send it back to
me, and immediately delete it. Please do not use, copy or disclose the
information contained in this message or in any attachment. Any views or
opinions expressed by the author of this email do not necessarily reflect the
views of the University of Nottingham. This message has been checked for
viruses but the contents of an attachment may still contain software viruses
which could damage your computer system: you are advised to perform your own
checks. Email communications with the University of Nottingham may be monitored
as permitted by UK legislation. <o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'><br>
_______________________________________________ Xerte mailing list
Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do not use, copy or
disclose the information contained in this message or in any attachment. Any
views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham. This message has been
checked for viruses but the contents of an attachment may still contain
software viruses which could damage your computer system: you are advised to
perform your own checks. Email communications with the University of Nottingham
may be monitored as permitted by UK legislation. <o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'><br>
_______________________________________________ Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any
attachment are intended solely for the addressee and may contain confidential
information. If you have received this message in error, please send it back to
me, and immediately delete it. Please do not use, copy or disclose the
information contained in this message or in any attachment. Any views or
opinions expressed by the author of this email do not necessarily reflect the
views of the University of Nottingham. This message has been checked for
viruses but the contents of an attachment may still contain software viruses
which could damage your computer system: you are advised to perform your own
checks. Email communications with the University of Nottingham may be monitored
as permitted by UK legislation. <o:p></o:p></span></p>

</div>

</div>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif";color:black'><br>
_______________________________________________ Xerte mailing list
Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may
contain confidential information. If you have received this message in error,
please send it back to me, and immediately delete it. Please do not use, copy
or disclose the information contained in this message or in any attachment. Any
views or opinions expressed by the author of this email do not necessarily
reflect the views of the University of Nottingham. This message has been
checked for viruses but the contents of an attachment may still contain
software viruses which could damage your computer system: you are advised to
perform your own checks. Email communications with the University of Nottingham
may be monitored as permitted by UK legislation. <o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'><br>
_______________________________________________ Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any
attachment are intended solely for the addressee and may contain confidential
information. If you have received this message in error, please send it back to
me, and immediately delete it. Please do not use, copy or disclose the
information contained in this message or in any attachment. Any views or
opinions expressed by the author of this email do not necessarily reflect the
views of the University of Nottingham. This message has been checked for
viruses but the contents of an attachment may still contain software viruses
which could damage your computer system: you are advised to perform your own
checks. Email communications with the University of Nottingham may be monitored
as permitted by UK legislation. <o:p></o:p></span></p>

</div>

</body>

</html>