PDA

View Full Version : Video from XML


jor133d
03-03-2008, 03:35 PM
Ok,

I have an xml document that looks like this:


<nfac>
<buildingName>Noel Fine Arts Center</buildingName>
<buildingType>Academic Building</buildingType>
<textDescription>blah blah blah </textDescription>
<img>content/nfac/nfac.jpg</img>
<video url="rtmp://flash.uwsp.edu/LRCtour/LRCFinal" />
</nfac>


I have an flvplayback componen with instance videoLoad.

My load XML statement looks like this:

videoLoad.contentPath = buildingNode.childNodes[4].childNodes[0].nodeValue;


1. Is the load XML statement even right?

2. If it is, how come my flvplayback does not play the video?

Any help would be great!!!

atomic
03-03-2008, 04:01 PM
Ummmmmmmh!

Attach your .fla & .xml file.

jor133d
03-03-2008, 05:37 PM
www.destreedesign.com/TEST

I apologize is the code is confusing. I was given this code and asked if I could help add video to it. Of course, I am having trouble.

Any help would be great!

atomic
03-03-2008, 08:01 PM
You also forgot that I'm not on CS3... Need the .fla in a Flash 8 format...