# Can't see text in scrollPane Component

**URL:** https://forum.kirupa.com/t/cant-see-text-in-scrollpane-component/249447
**Category:** flash
**Created:** [January 18, 2008, 9:23pm UTC](https://forum.kirupa.com/t/cant-see-text-in-scrollpane-component/249447 "2008-01-18T21:23:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![enchance](https://avatars.discourse-cdn.com/v4/letter/e/85e7bf/32.png) [@enchance](https://forum.kirupa.com/u/enchance)
#### Post date: [January 18, 2008, 9:23pm UTC](https://forum.kirupa.com/t/cant-see-text-in-scrollpane-component/249447/1 "2008-01-18T21:23:58Z")

</div>

Can anyone help me out on this. I loaded a swf into a scrollpane as scrollpanes go. The only difference is that the dynamically generated textfield in the loaded swf did not come out at all while the pic in the loaded swf did. Is there a way around this?

I’ve posted my code for the scrollpane and also for the swf being loaded:

SWF to be loaded

```auto
var a:MovieClip = this.createEmptyMovieClip("loaded", 100); 
loaded.createTextField("mytf", 101, 0, 0, 100, 100); 
loaded.mytf.text = "This text should come out."; //this doesn't come out 
 
//saved the file as test.swf 

```

Scrollpane

```auto
myscrollpane.contentPath = "test.swf"; 

```

I also ran test.swf (the file itself) to see if the text actually came out which it did. Am I missing anything here?

Here’s [test.swf](http://johnimbong.com/test.swf) and try loading it in a scrollpane…
