# Dynamically loading mcs into a scrollpane

**URL:** https://forum.kirupa.com/t/dynamically-loading-mcs-into-a-scrollpane/233969
**Category:** Uncategorized
**Created:** [July 28, 2007, 10:26pm UTC](https://forum.kirupa.com/t/dynamically-loading-mcs-into-a-scrollpane/233969 "2007-07-28T22:26:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![le\_architect](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/le_architect/32/3934_2.png) [@le\_architect](https://forum.kirupa.com/u/le_architect)
#### Post date: [July 28, 2007, 10:26pm UTC](https://forum.kirupa.com/t/dynamically-loading-mcs-into-a-scrollpane/233969/1 "2007-07-28T22:26:31Z")

</div>

I am trying to create a simple RSS news feed that loads XML items into a scrollpane in Flash 8. Everything is working fine with the loading until I try to load my dynamically generated MC (which contain dynamic text fields that reference the XML) into a scrollpane.

What I have done:  
I created an empty container (it has a box inside to test loading) with a Linkage ID and I have set the scrollpane’s content path to the container’s name. I then use createEmptyMovieClip (I have seen examples using attachMovie instead, but it will not work with my XML setup) to create a mc inside the empty container. I use 2 instances in my example: one without the scrollpane which works fine, and the one with the scrollpane that only loads the contents of the empty container (no xml data).

I have scoured the forums for about 10 hours and have found people with the same problem but yet no solution. I have included a simplified example of the situation if anyone could possibility take the time to look at it for me. Your help is greatly appreciated!! Thank you!
