# Dynamic News Box

**URL:** <https://forum.kirupa.com/t/dynamic-news-box/199852>\
**Category:** flash\
**Created:** [September 6, 2006, 6:53pm UTC](https://forum.kirupa.com/t/dynamic-news-box/199852 "2006-09-06T18:53:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benny\_hill](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@benny\_hill](https://forum.kirupa.com/u/benny_hill)\
**Post date:** [September 6, 2006, 6:53pm UTC](https://forum.kirupa.com/t/dynamic-news-box/199852/1 "2006-09-06T18:53:21Z")

</div>

Does anyone know where I can find a tutorial to make a general news box that is updated via XML. So far I have made a movie clip in my library that has 3 dynamic text fields that have the instance names date\_txt, headline\_txt, and article\_txt. I export the movie clip for actionscript and give it a linkage ID. I get as far as scripting a loop that adds mulitple of these clips on the stage, evenly spaced, but I can’t figure out how to populate each clip with unique data from an XML file. I am assuming another loop will do it.

Basically I want to add a movieclip to the stage (or another movie clip that is masked for scrolling purposes) for each news item in the XML file.

Any advice or links would be appreciated.
