# Loading xml data into my timeline

**URL:** https://forum.kirupa.com/t/loading-xml-data-into-my-timeline/262723
**Category:** Uncategorized
**Created:** [June 9, 2008, 2:32pm UTC](https://forum.kirupa.com/t/loading-xml-data-into-my-timeline/262723 "2008-06-09T14:32:51Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wdv](https://avatars.discourse-cdn.com/v4/letter/w/9fc29f/32.png) [@wdv](https://forum.kirupa.com/u/wdv)
#### Post date: [June 9, 2008, 2:32pm UTC](https://forum.kirupa.com/t/loading-xml-data-into-my-timeline/262723/1 "2008-06-09T14:32:51Z")

</div>

Hey Kirupa Members!,  
to load a external swf using the below code, do i need to assign any other actionscript to anywhere else to make this code work. Like for example do i need to create a empty movie clip on stage and call it holder or something. Or does this code create the movlie clip holder. I was told to throw this code anywhere in my timeline and thats it, the swf show appear but its not.

function loadingFinished(target:MovieClip):Void {  
var monoslideshow:Object = new Monoslideshow(target, “monoslideshow.xml”);  
monoslideshow.start(Stage.width, Stage.height, true);  
}  
var listener:Object = new Object();  
var movieClipLoader:MovieClipLoader = new MovieClipLoader();  
listener.onLoadInit = loadingFinished;  
movieClipLoader.addListener(listener);  
this.createEmptyMovieClip(“holder”, this.getNextHighestDepth());  
movieClipLoader.loadClip(“monoslideshow.swf”, this.holder);
