Folks, does anybody know how to determine how much space a string actually takes up on the screen? The example is a dynamic text field where I don't know how long the string will be. I want to place a button immediately to the right of the end of the text string but I need to know just how many pixels wide that string is on screen... In Java you would do that using myfontmetrics.stringWidth("blabla"); but how would you do something like that in Flash?