Revision: 25540
Updated Code
at April 1, 2010 17:56 by brewsie
Updated Code
//mc is the mc //textfield is the textfield in question //mcX/Y is the position to place the mc after the text //getLineMetrics also returns ascent, descent, width, height, x, and leading var mcX:int=(textfield.x+textfield.getLineMetrics(textfield.numLines-1).width)+(mc.width+20); var mcY:int=(textfield.y+textfield.textHeight)+(mc.height+10);
Revision: 25539
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 1, 2010 17:55 by brewsie
Initial Code
var mcX:int=(textfield.x+textfield.getLineMetrics(textfield.numLines-1).width)+(mc.width+20); var mcY:int=(textfield.y+textfield.textHeight)+(mc.height+10);
Initial URL
Initial Description
Initial Title
find X and Y positions of the last word of a line in a dynamic text field
Initial Tags
Initial Language
ActionScript 3