Hey, ive got a small code that ive put on my button to check the player, can anyone help me wit this?
on(press) {
_root.names.new Array ("Tom", "Dick", "Harry")
if(_root.name_txt.text == null)
//PROBLEM HERE
}
See, if the name is nothing then i want one of the names from the array to be pushed into the name space for example _root.name_txt = ( either tom dick or harry )
Can anyone help me with this? Thank You!