I’m trying to use actionscript in a button to increment variables in my program. ie. when you click the button it increments a variable and so displays different information in one of my dynamic text boxes. The program doesn’t seem to recognise the button input. I understand you have to give your button an instance name but I’m not sure how to set up the code to recognise this input.
The code in my button is on (release) {
buttonup++;}
This is meant to increment a variable of that name but doesn’t appear to work.
Any suggestions would be very welcome.