What I got. (I’m a noob so please tolerate how stupid my questions probably are.
public var score:Number = 0;
var scoreNumber:TextField = new TextField();
scoreNumber.type = TextFieldType.DYNAMIC;
scoreNumber.text = ????;
Okay, I apparently can’t pass the score to the textBox.
-
How do I convert the variable to a string?
-
How do I update the textBox? I thought I saw some special method somewhere but I’m not sure where.
-
What is the best way of updating the ‘score’ variable.