[Xerte] Re: Scoring Summary

Dave Burnett d_b_burnett at hotmail.com
Mon Dec 12 18:41:45 GMT 2011



Bit of a chocolate mess with different fla's swf's and what's being loaded, but I think the issue is the root score is not being updated:

function updatescore(){
trace('updatescore');
    score=Math.round(hits/all*100)//works out the percentage between correct hits and all hits
trace('inupdate score: ' + score);
_level0.engine.score = score; //update the score in the root as well
}
  






Date: Mon, 12 Dec 2011 20:12:25 +0200
From: admin at strivney.com
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Scoring Summary

Oh sorry, I think  CS5 is overriding it.  No it's AS2 not AS3.  I think the attached should be better.




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.


_______________________________________________
Xerte mailing list
Xerte at 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. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111212/ffc68b36/attachment-0001.html>


More information about the Xerte mailing list