I\'m trying to calculate how WIDE to make my button, based on the text that it will contain, and when I try to google for how to calcuate something as simplistic as the WIDT
Here's a way that works also:
var tempText:Text = new Text(); tempText.regenerateStyleCache(false); var textWidth:int = tempText.measureText(*yourstring*).width;