<div dir="ltr"><div dir="ltr"><div style="text-align:center"><div style="text-align:left"><font class="Apple-style-span" color="#000066" face="verdana, sans-serif">Thanks Dave and Julian, I didn't realise that about _root in Xerte it's good to know..</font></div>
<div style="text-align:left"><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><br></font></div><div style="text-align:left"><font class="Apple-style-span" color="#000066" face="verdana, sans-serif">I'm a beginner at Actionscript so don't know quite how to fix the code.</font></div>
<div style="text-align:left"><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><br></font></div><div style="text-align:left"><font class="Apple-style-span" color="#000066" face="verdana, sans-serif">I tried replacing all instances of _root with _this and with this - but neither got the score working either inside or outside of Xerte. </font></div>
<div style="text-align:left"><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><br></font></div><div style="text-align:left"><font class="Apple-style-span" color="#000066" face="verdana, sans-serif">Could you possibly be a little bit more specific about which _roots I should change to _this, this or where I can take root out altogether?</font></div>
<div style="text-align:left"><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><br></font></div><div style="text-align:left"><font class="Apple-style-span" color="#000066" face="verdana, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; color: rgb(0, 0, 0); "><div>
<div>on (release) {</div><div><span style="white-space: pre-wrap; "></span>_root.total = _root.total+10;</div><div>}</div><div>onClipEvent (load) {</div><div><span style="white-space: pre-wrap; "></span>if (_root.total=0) {</div>
<div><span style="white-space: pre-wrap; "></span>_root.total = _root.total+_root.total;</div><div><span style="white-space: pre-wrap; "></span>}</div><div>}</div></div><div><br></div><div><font color="#000066" face="verdana, sans-serif">And this on the frame:</font></div>
<div><br></div><div><div>onEnterFrame = function () {</div><div> if (_root.score >= 50){</div><div> gotoAndStop (2);</div><div> }</div><div>}</div></div><div><br></div><div>With thanks in advance.</div>
<div><br></div><div>Deborah</div></span></font></div></div></div>
</div>