# Loading Content From XML

**URL:** <https://forum.kirupa.com/t/loading-content-from-xml/270135>\
**Category:** Uncategorized\
**Created:** [September 5, 2008, 2:18pm UTC](https://forum.kirupa.com/t/loading-content-from-xml/270135 "2008-09-05T14:18:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joejubee](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@joejubee](https://forum.kirupa.com/u/joejubee)\
**Post date:** [September 5, 2008, 2:18pm UTC](https://forum.kirupa.com/t/loading-content-from-xml/270135/1 "2008-09-05T14:18:18Z")

</div>

Hey All,

So here’s my deal- I have a custom-built FLV Playback component (with captions) and need to load the following items from an XML file:  
[INDENT]\<?xml version=“1.0” encoding=“UTF-8”?\>  
\<playlist id=“Here’s The Video” \>  
\<vid desc=“Introduction to Biological Terrorism Agents”  
src=“Intro.flv”  
thumb=“Intro.jpg”  
caption=“Intro.xml”  
\</playlist\>

[/INDENT]  
On the stage, here’s what things are named:  
[LIST]  
[_]my FLVPlayback Component is named myVideo  
[_]my thumbnail/preview image (empty movie clip) is named myPoster  
[\*]my FLVPlaybackCaptioning Component is named captioning  
[/LIST]So how do I get these things to all get read from the XML document? It’s easy to do it all through the FLA and hard-code the paths, but I can’t seem to figure it out.

Any help would be greatly appreciated.

Joe
