Im having a little bit of a probelm with my imput text box. In my game im creating, theres a bank that allows you to deposit any amout of cash$$$ that you type in. after you press “deposit”, it goes to your balance, and displays it. but if you enter another amount and press deposit, it will add it to the end of the first amount, instead of addin them together
example:
I type 100, press deposit, and it goes to the blance. i type in 200, press deposit, and the balance will read “100200” instead of “300”
here is the code on the deposit button
on(press){
_root.balance = _root.balance + _root.deposit;
}
:crying: