<div dir="ltr"><font class="Apple-style-span" face="verdana, sans-serif" color="#333399">Hi,</font><div><font class="Apple-style-span" face="verdana, sans-serif" color="#333399"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#333399">I have created a swf with a simple scoring system using this code on a movie clip:</font></div>
<div><br></div><div><div>on (release) {</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>_root.total = _root.total+10;</div><div>}</div><div>onClipEvent (load) {</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>if (_root.total=0) {</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>_root.total = _root.total+_root.total;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div>}</div></div><div><br></div><div>
<font class="Apple-style-span" face="verdana, sans-serif" color="#000066">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><font class="Apple-style-span" face="verdana, sans-serif" color="#000066">This all works fine outside of Xerte but when I put the SWF inside Xerte (I'm using Wizards but I don't think that's the issue) the score doesn't register.</font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif" color="#000066"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#000066">Please could anyone suggest what it might be that Xerte doesn't like?</font></div>
<div><font class="Apple-style-span" face="verdana, sans-serif" color="#000066"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#000066">Thanks in advance.</font></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#000066"><br>
</font></div><div><font class="Apple-style-span" face="verdana, sans-serif" color="#000066">Deborah</font></div></div>