I'm having trouble adding a text message dynamically on stage using as3.
I have an animation that the user interacts with and when a variable reaches a certain value I want to display a message to the user. How can I do this ?
Here is as far as I've got.
var label:TextField = new TextField();
lable1= "here is my response message"
When I run this I get a 1067 error that reads:
Implicit coercion of a value of type STring to an unrelated flash type text:Textfield labe1="here is my response message". What am I doing wrong ??