I'm creating a scoreboard that has a button that will add 10 points to the team score when a button is pressed.
The code all works and looks exactly as I hoped, but it comes up with an error:
<b><i>Operator '=' must be followed by an operand
this is the code i used in that part:
TEAM1score = #;
TEAM1Sscore is just the instance name
Basically I just need another way to use # so that it can display any number, because I have a whole stack of other code that needs this to be a number. I originally had 0, but I need it not to be a specific number like 0 (thus I used the #)
What is the best way to write the same code above, but without the error? Is there another way to write # in flash?