Hey Everyone,
I have a textField in my scene named currentScore. Every time the player shoots an enemy, I update this field to show the new score. The problem is, whenever I try to update the text, its not showing the new number.
When I start the game:
currentScore = "Score: " + score;
and the text field shows "Score: 0";
When an enemy is killed:
currentScore = "Score: " + score;
and the text field shows "Score: ";
I have currentScore set to dynamic text, single line, Verdana, 15pt font.
This same code works in Flash CS4, but when i do it in CS5.5, i get nothin.
Any ideas?
P.S. I print the score to the console, and the score has the proper number, so it is not as if score suddenly became null.
I have a textField in my scene named currentScore. Every time the player shoots an enemy, I update this field to show the new score. The problem is, whenever I try to update the text, its not showing the new number.
When I start the game:
currentScore = "Score: " + score;
and the text field shows "Score: 0";
When an enemy is killed:
currentScore = "Score: " + score;
and the text field shows "Score: ";
I have currentScore set to dynamic text, single line, Verdana, 15pt font.
This same code works in Flash CS4, but when i do it in CS5.5, i get nothin.
Any ideas?
P.S. I print the score to the console, and the score has the proper number, so it is not as if score suddenly became null.