Hi, i'm having a syntax issue with:
How does the above get written properly?
Thanks
Code:
if (_root.total >== 125 AND _root.total < 200) {
message = "Congradulations, you won a sleeve of golf balls";
} else if (_root.total >== 200 AND _root.total < 400) {
message = "Congradulations, you won a t-shirt.";
} else if (_root.total >== 400) {
message = "Congradulations, you won a golf shirt";
}
How does the above get written properly?
Thanks