Koolmoves and Flash trace
Hi,
The "exchange menu1" and "arrays, strings" threads can be closed. Thanks for the solution.
Next problem!
Why doesn't Koolmoves use trace?
I have two txtboxes, one shows % correct (works) and the other is for a conditional response but this is not working. Can someone tell me why?
txt7var = Math.round((new_score/4)*100);
txt9var = "";
this.onEnterFrame = function() {
if (this._currentframe == '14') {
if(txt7var >= 70){txt9var.text = 'well done'}
}else if(txt7var <= 69){txt9var.text = 'repeat'}
}
}
}
}
Selection.setFocus("txt9var");
stop();
thanks,
ja
Spot my conditional statement problem please?
Hi all,
I've tried suggested changes.
If I change 'score' to (18) - frame which scores the < 70 doesn't work but the >=70 returns 'well done'.
If I leave 'score' then >=70 returns nothing but <70 works and returns 'repeat this'.
I can't seem to be able to get both conditions to work depending on the score.
txt7var = Math.round((new_score/4)*100);
txt9var = "";
this.onEnterFrame = function() {
if (this._currentframe == 'score') {
if(txt7var >= 70){txt9.text = 'Well done'}
}else if(txt7var < 70){txt9.text = 'You should repeat this'}
}
}
}
}
Selection.setFocus("txt9var");
stop();
thanks,
ja