In CSS/HTML a div may be given a minimum height and be allowed to expand past that. With text fields in AS3 the minimum value is 100, and if the word wrap property is set, the field is allowed to expand vertically past that value. I am trying to position something relative to the bottom of a text field that word wraps:
var someText:String = <<string of arbitrary length and composition>>;
var v1:Something = new Something();
var v2:TextField = new TextField();
v2.wordWrap = true;
v2.text = someText;
v1.y = v2.y + v2.height + 20;
In the scenario above, the object v1 is correctly displayed 120 pixels below the anchor of v2. However, the text only occupies maybe 30 of the 100 pixels allotted to the TextField. When the height of v2 is specifically set to 30, the object v1 shows up ~20 pixels below v2 as desired, but as text wraps the text is hidden. Is there a way to set up the desired behavior?