This content has been marked as final. Show 3 replies
If I understand what you are describing happens correctly...
If wordWrap is set to true, then only the bottom side of the text field will be resized and the right side will remain fixed.
I can't remember for sure if this affects it as well, but if you have the textfield manually stretched out (a square shows rather than a circle in the corner), it may also only autoSize downwards. If that's the case, double click on the square to turn it back to a circle.
Thanks for the response! I tried setting up wordWrap but it did not fix the problem. Maybe I'm not being clear on what is happening.
The arrangement of my instances is this: news_array > mynews_bar > mytext_field
The code to create the array, load the xml, and create a scroll bar lies in the timeline of news_array.
My text field autoSize code is in the timeline of mytext_field.
When tested, the array of news boxes seems to be created before the text is loaded, so the news boxes don't change size according to the amount text. Instead the text just overflows onto text in other news boxes. When I delete the autoSize code in mytext_field, the text is clipped by the size of the unchanging news box.
Does this explain things better? thanks again for the help!
You probably need to preload your data before trying to use it in any case.
I'm still not sure of the problem though.