# External swf - accessing textfield properties

**URL:** <https://forum.kirupa.com/t/external-swf-accessing-textfield-properties/156854>\
**Category:** Uncategorized\
**Created:** [July 28, 2005, 12:24pm UTC](https://forum.kirupa.com/t/external-swf-accessing-textfield-properties/156854 "2005-07-28T12:24:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nyttx](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@nyttx](https://forum.kirupa.com/u/nyttx)\
**Post date:** [July 28, 2005, 12:24pm UTC](https://forum.kirupa.com/t/external-swf-accessing-textfield-properties/156854/1 "2005-07-28T12:24:58Z")

</div>

Hi all, i desperately need your help

I am trying to load an external swf file which has some dynamic text fields in it. It loads ok, however, I can’t access any of textfields’ properties. Ideally, I would like to be able to load that swf and populate the textfields with some values. Is it actually possible in flash mx 2004 (professional)?

Here is the code:

```auto

_root.createEmptyMovieClip("creditBar", 1);
_root.creditBar = new MovieClipLoader();
_root.creditBar.creditBar.onLoadError = function() {
trace("error loading");
}
_root.creditBar.onLoadComplete = function() {
trace("loaded");
_root.creditBar.bank1_txt.text="test message";
trace(_root.creditBar.bank1_txt.text);
}
_root.creditBar.loadClip("creditBarSWP.swf", 1);
 

```

and here is what output window gives me:  
loaded  
undefined

Any help would be appreciated. Attached is the source code.
