Hi, got a question about a dynamic text box and variable.
Im making a defence flash game and im using a variable and dynamic text box to change the amount of money that a player has.
I had this as my variable:
var money:Number=100;
This was on my first frame, and i then created a dynamic text box and gave it an instance name of: money
When i run it nothing appears… because isnt the text box suposed to display 100? And i also have a button with:
on (release) {
{money +=10; }
}
to add 10 to the money. but this dosent work neither… im confused.
any help would be apriciated.
Thanks