I have a ranking system set up, and its functional. the movie clips “a”-“d” displays the rank. while the dyanamic text box “one” is changing for future reference. heres my code:
if(myStopWatch.getTime() < 70) {
A.gotoAndPlay(2);
one.text="A";
} else if(myStopWatch.getTime() < 1000) {
B.gotoAndPlay(2);
one.text="B";
} else if(myStopWatch.getTime() < 3000) {
C.gotoAndPlay(2);
one.text="C";
} else if(myStopWatch.getTime() > 5000) {
D.gotoAndPlay(2);
one.text = "D";
}
however, I realized that if you got a rank of B, and you replayed the level, and your rank went down, you’d want your better rank to stay in place.
so how can i keep the highest rank in the dynamic text box “one”, so it doesnt change if you later get a lower rank?
thanks for looking.:sonic::sonic::sonic::sonic: