Answer the question
In order to leave comments, you need to log in
How to bind text to object coordinates in actionscript 3?
How to bind text to object coordinates. I bind either directly to ball.x or to a variable equal to this coordinate, the text shows only the initial coordinate, even if it is done through a timer.
Answer the question
In order to leave comments, you need to log in
Add a TextField directly to the ball to expose the TextField to the desired coordinates from the container.
var text:TextField = new TextField;
ball.addChild(text);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question