# Not too big scrollPane problem

**URL:** <https://forum.kirupa.com/t/not-too-big-scrollpane-problem/158504>\
**Category:** Uncategorized\
**Created:** [August 10, 2005, 4:17am UTC](https://forum.kirupa.com/t/not-too-big-scrollpane-problem/158504 "2005-08-10T04:17:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [August 10, 2005, 4:17am UTC](https://forum.kirupa.com/t/not-too-big-scrollpane-problem/158504/1 "2005-08-10T04:17:43Z")

</div>

i’ve a mc, and inside that mc, there are some textboxes called “message1” “message2” “message3” and so on.  
scrollPane’s content is the mc.  
now, to change text inside those textbox i do this:

```auto

for ( i = 1 ; i < 5 ; i++ )
{
  myScrollPane.content.eval("message" + i).text = "hi there";
}

```

but this doesn’t work, because of eval() function, how do i solve this problem? thanks  
edit: or is there any way i can do something like this:

```auto

objName = eval("message" + i);
myScrollPane.content.objName.text = "hi there";

```

(i’m thinking no, because this would be like creating a new object)
