# Help locating a mc

**URL:** <https://forum.kirupa.com/t/help-locating-a-mc/245682>\
**Category:** Uncategorized\
**Created:** [December 3, 2007, 1:31am UTC](https://forum.kirupa.com/t/help-locating-a-mc/245682 "2007-12-03T01:31:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geestring](https://avatars.discourse-cdn.com/v4/letter/g/e19b73/32.png) [@geestring](https://forum.kirupa.com/u/geestring)\
**Post date:** [December 3, 2007, 1:31am UTC](https://forum.kirupa.com/t/help-locating-a-mc/245682/1 "2007-12-03T01:31:18Z")

</div>

i have this function.

function CreateNews(news\_xml) {  
var items = news\_xml.firstChild.firstChild.childNodes;

```
for (var i = 0; i&lt;items.length; i++) {

	var date = items*.firstChild;
	var news = items*.firstChild.firstChild;

	var item_mc = home_mc.content_mc.attachMovie("news_content", "item"+item_count, item_count);
	item_mc._y = item_count*item_spacing;
	item_count++;
	

	item_mc.date_text.text = date.attributes.day;
	item_mc.content_text.text = news.firstChild.nodeValue;
	
	
	

}

```

}

basically attaches the textfields to item\_mc.

I want to .visible false at the beginning. which i can do within the function. however, within home\_mc i want to have the .visible true at the end of the animation. The problem is it wont work, i tried \_root. but it cant find item\_mc.

where is it located? I can only control it from the function itself.
