I’m keeping score in a game. I have a text field with an instance name “finalScore”. The score is a Number.
trace ("score = "+score);
finalScore.text = String(score);
trace ("finalScore = "+finalScore);
The output looks like this
score = 10
finalScore = [object TextField]
The text field comes up with “1” not 10.
Why is this?