/ Published in: ActionScript 3

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//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);
Comments
