<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>cBoxArray is populated in the same loop as the label sets:<br><br><br>SCR<br>// duplicate proto checkboxes<br>//set the labels<br><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">//set the rs attribute<br>
//push the rs attribute into cBoxArray<br>
//engine[cboxArray[0]].setCheckState(true);<br>
//engine[cboxArray[0]].setEnabled(false);</span><br><br>INT<br>PROTO<br>SCR<br><br>The duplication process is duplicating the XML right? <br>The next couple lines are settings attributes (in the XML)<br>Then the checkbox objects themselves are being addressed via their rs.<br><br>I can see the flow being asynchronous (so really should rely on events).<br>So the case can arise where <span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">setCheckState doesn't work, but by the time it gets to </span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">setEnabled</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> the objects are instantiated.<br>?<br><br>I'll just move the logic down to the following SCR, it's sort of been an academic exercise anyway.<br></span><br><br><br><hr id="stopSpelling">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br>Date: Thu, 30 Sep 2010 10:03:34 +0100<br>Subject: RE: [Xerte] check then disable checkbox<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxshape
{;}
</style>
<style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle18
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
</style>
<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">If the checkbox hasn’t been created yet, yes, unless you have
cboxArray left over from a previous page?</span></p>
<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>
<p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">SCR //make your checkboxes</span><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"></span></p>
<p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">INT</span></p>
<p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> PROTITEMS MADE HERE //set perpetual 1</span></p>
<p class="ecxMsoNormal"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">SCR //check the checkboxes here?</span></p>
<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>
<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">I do it this way: you know where you are then. The only problem
is when you need the interaction to not be perpetual.</span></p>
<p class="ecxMsoNormal"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);"> </span></p>
<div>
<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="ecxMsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">
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</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"> </p>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; 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>
</span></p>
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">
<hr id="ecxstopSpelling" align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; 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</span></p>
<div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">Beforehand, when you
duplicate(), you have only .xml.</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">Afterwards come the MovieClips.</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div id="ecxdivRpF276633">
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">From:</span></b><span style="font-size: 10pt; 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</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; 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>
</span></p>
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr id="ecxstopSpelling" align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; 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</span></p>
<div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">Does this work</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">SCR //make yor checkboxes</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">INT</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> PROTITEMS MADE HERE //set
perpetual 1</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">SCR //check the checkboxes here?</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">?</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div id="ecxdivRpF172269">
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">From:</span></b><span style="font-size: 10pt; 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</span></p>
</div>
<div>
<div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; 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?</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; 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?</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div id="ecxdivRpF75543">
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">From:</span></b><span style="font-size: 10pt; 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</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">>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>
</span></p>
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr id="ecxstopSpelling" align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; 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</span></p>
<div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">are you debugging out the
various bits and seeing what you expect?</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">inspect() reveal anything?</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">Might be a timing issue - can
you manually do that later, just to see?</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div id="ecxdivRpF461789">
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">From:</span></b><span style="font-size: 10pt; 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</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; 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>
</span></p>
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr id="ecxstopSpelling" align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; 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</span></p>
<div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; 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</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
</div>
<div id="ecxdivRpF32058">
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">From:</span></b><span style="font-size: 10pt; 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</span></p>
</div>
<div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">>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>
</span></p>
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr id="ecxstopSpelling" align="center" width="100%" size="2">
</span></div>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
<div>
<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0cm 0cm; border-color: -moz-use-text-color;">
<p class="ecxMsoNormal" style="margin-left: 72pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;" lang="EN-US"> 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: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"></span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><span style="font-size: 10pt; 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>
</span></p>
<div style="margin-left: 36pt;">
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;">
<hr align="center" width="100%" size="2">
</span></div>
</div>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 72pt;"><span style="font-size: 10pt; 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</span></p>
<div>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; color: rgb(31, 73, 125);">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’ll find what you’re looking for.</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"></span></p>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
<div>
<div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0cm 0cm; border-color: -moz-use-text-color;">
<p class="ecxMsoNormal" style="margin-left: 108pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;" lang="EN-US"> 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: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"></span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif'; color: black;"> </span></p>
<p class="ecxMsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 108pt;"><span style="font-size: 10pt; 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?</span></p>
</div>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 10pt; 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. </span></p>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; 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. </span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; 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. </span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; 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. </span></p>
</div>
</div>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; 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. </span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; 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. </span></p>
</div>
<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.                                            </body>
</html>