[Xerte] Re: Scoring Summary

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Dec 12 15:38:46 GMT 2011


You are setting the value of _level0.engine.score with the value of score when the line of code executes. If the value of score is 0, the value of _level0.engine.score will be set to 0.

You need to see what score is when you set it, or deduce it from the icon's position on the flowline.

Try setting it to the string 'hello world' and see what happens.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Deborah Delin
Sent: 12 December 2011 14:30
To: Xerte discussion list
Subject: [Xerte] Re: Scoring Summary

Dave - Sorry it's in CS5.  I haven't got access to CS3 at the moment to re-create but will do so.

Julian you said:  Are you setting it after score has been calculated?

Not sure quite how to answer.  Setting what?  The
 _level0.engine.scoreXerte = score2;

 code is in SWF on earlier page and the summary page is after that.  Score gets calculated when exercise is done but then when you turn to summary page score=0.

Deborah





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20111212/fe2b6ab2/attachment.html>


More information about the Xerte mailing list