# XML and MC Text Field Propigation (text field appear at frame 2)

**URL:** <https://forum.kirupa.com/t/xml-and-mc-text-field-propigation-text-field-appear-at-frame-2/174360>\
**Category:** flash\
**Created:** [January 5, 2006, 12:47am UTC](https://forum.kirupa.com/t/xml-and-mc-text-field-propigation-text-field-appear-at-frame-2/174360 "2006-01-05T00:47:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![betoranaldi](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@betoranaldi](https://forum.kirupa.com/u/betoranaldi)\
**Post date:** [January 5, 2006, 12:47am UTC](https://forum.kirupa.com/t/xml-and-mc-text-field-propigation-text-field-appear-at-frame-2/174360/1 "2006-01-05T00:47:19Z")

</div>

I am using xml and actionscript to propicate two fields in a mc.

The problem I am having is that both fields dont show up until the second frame of the mc. since they are not on the first frame the xml doesnt propicate the fields.

Is there any way to refence a field on the second from of a MC

I am using the following code:

```auto
function loadXML(loaded) {
	if (loaded) {
		
		_root.attractions = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
		_root.description = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
		
		_root.theaterinfo.header.text = _root.attractions;
		_root.theaterinfo.description.text = _root.description;
		
	} else {
		content = "file not loaded!";
	}
}

xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("attractions.xml");

stop();

```

The text boxs header and description dont appear until the second frame of the MC theaterinfo

If i move these text field to the first frame they propigate with their text just fine. once they are moved to the second frame they no longer work.

edit: I also would like to mention that the movie clip theaterinfo has frame one blank with a stop(); command and then on frame 2 the dynamic text fields are referenced.

all help is much apreaciated  
Thanks
