I have a score field which needs to stay left-aligned. Every time the score gets updated I do this:
scoreText.text = tostring ( score );
scoreText:setReferencePoint ( display.TopLeftReferencePoint );
scoreText.x = 40; scoreText.y = 0;
The problem is that every time a new digit is added to the score (for example going from 99 to 100 points), the text drifts further and further to the right, no longer correctly left-justifying like it’s supposed to. Is there a workaround for this? [import]uid: 52127 topic_id: 12379 reply_id: 312379[/import]
[import]uid: 22737 topic_id: 12379 reply_id: 45180[/import]