Ok, i know the general this about this but let me explain.
Ok first of all this are the "things":
message= dynamic textbox
cheat= input textbox
pionts= dynamic textbox
This is the actionscript i use on the Button:
on(release){
message="Invalid Cheat";
if(cheat=="newgrounds"){
message="Correct Cheat";
_root.points= Number(_root.points)+5;
}
}
Effect i want:
I want if i don't type the correct cheat i get a message saying "Invalid Cheat".
I want the cheat to be newgrounds, and if its correct message will say "Correct Cheat"
and the textbox "points" will get 5 pionts in it(so it haves 4, than it haves 9)
Please help me out, because when it does know, it gives me the same message "Invalid Cheat" and "pionts" won't get 5 pionts extra.