[Xerte] Flash Scoring not Working in Xerte

Deborah Delin admin at strivney.com
Fri Jun 10 11:44:54 BST 2011


Hi,

I have created a swf with a simple scoring system using this code on a movie
clip:

on (release) {
_root.total = _root.total+10;
}
onClipEvent (load) {
if (_root.total=0) {
_root.total = _root.total+_root.total;
}
}

And this on the frame:

onEnterFrame = function () {
     if (_root.score >= 50){
          gotoAndStop (2);
     }
}

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.

Please could anyone suggest what it might be that Xerte doesn't like?

Thanks in advance.

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


More information about the Xerte mailing list