Dynamically line break text after specific width

[COLOR=#000000][FONT=HelveticaNeue][COLOR=#222222][FONT=Carrois Gothic]Hi,[/FONT][/COLOR]

[COLOR=#222222][FONT=Carrois Gothic]Trying to line break text dynamically in one text field.[/FONT][/COLOR]

[COLOR=#222222][FONT=Carrois Gothic]The textfield has the potential to display up to x4 lines. The text field should be the entire width of the stage. But the 2nd, 3rd and 4th line of the textfield should be only 50% width of the textfield.[/FONT][/COLOR]

[COLOR=#222222][FONT=Carrois Gothic]Thinking there maybe a way of doing it with [/FONT][/COLOR][COLOR=#545454][FONT=arial]**getLineMetrics **[/FONT][/COLOR][COLOR=#222222][FONT=Carrois Gothic]to check width of each line, if the 2nd line goes over stage.stageWidth / 2 then check character count up to that point, then insert a <br> tag without splitting words, and do the same again, but can’t quite see how to piece this together. [/FONT][/COLOR]

[COLOR=#222222][FONT=Carrois Gothic]Any pointers on this or another method much appreciated. [/FONT][/COLOR]

[/FONT][/COLOR]
var tf:TextField = new TextField(); tf.defaultTextFormat = new TextFormat(“Arial”, 10);
tf.width = stage.stageWidth;
tf.multiline = true
tf.wordWrap = true
tf.htmlText = “No ius eirmod maiorum posidonium, sed no rebum nostrud voluptaria. Ut error reprimique vim. Mei ea adhuc nihil repudiandae, cum officiis insolens interesset te. At soleat platonem patrioque vel, ad vis repudiare definiebas.”;

addChild(tf);

trace(tf.numLines)
//trace number of lines

trace(tf.getLineLength(1))
//trace number of characters in line 2

trace(tf.getLineMetrics(1).width)
//trace number of characters in line 2

[COLOR=#000000][FONT=HelveticaNeue][/FONT][/COLOR]
[COLOR=#000000][FONT=HelveticaNeue] [/FONT][/COLOR]