<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
I'd be guessing something to do with _root.<BR>
 <BR>
Since a loaded swf is no longer _root, it is probably talking to some other clip.<BR>
 <BR>
 <BR>
 <BR>
 <BR> <BR>

<HR id=stopSpelling>
Date: Fri, 10 Jun 2011 13:44:54 +0300<BR>From: admin@strivney.com<BR>To: xerte@lists.nottingham.ac.uk<BR>Subject: [Xerte] Flash Scoring not Working in Xerte<BR><BR>
<DIV dir=ltr><FONT class=ecxApple-style-span color=#333399 face="verdana, sans-serif">Hi,</FONT>
<DIV><FONT class=ecxApple-style-span color=#333399 face="verdana, sans-serif"><BR></FONT></DIV>
<DIV><FONT class=ecxApple-style-span color=#333399 face="verdana, sans-serif">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 style="WHITE-SPACE: pre" class=ecxApple-tab-span></SPAN>_root.total = _root.total+10;</DIV>
<DIV>}</DIV>
<DIV>onClipEvent (load) {</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=ecxApple-tab-span></SPAN>if (_root.total=0) {</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=ecxApple-tab-span></SPAN>_root.total = _root.total+_root.total;</DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=ecxApple-tab-span></SPAN>}</DIV>
<DIV>}</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT class=ecxApple-style-span 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><FONT class=ecxApple-style-span color=#000066 face="verdana, sans-serif">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=ecxApple-style-span color=#000066 face="verdana, sans-serif"><BR></FONT></DIV>
<DIV><FONT class=ecxApple-style-span color=#000066 face="verdana, sans-serif">Please could anyone suggest what it might be that Xerte doesn't like?</FONT></DIV>
<DIV><FONT class=ecxApple-style-span color=#000066 face="verdana, sans-serif"><BR></FONT></DIV>
<DIV><FONT class=ecxApple-style-span color=#000066 face="verdana, sans-serif">Thanks in advance.</FONT></DIV>
<DIV><FONT class=ecxApple-style-span color=#000066 face="verdana, sans-serif"><BR></FONT></DIV>
<DIV><FONT class=ecxApple-style-span color=#000066 face="verdana, sans-serif">Deborah</FONT></DIV></DIV><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.                                          </body>
</html>