Flash/XML/iFrames?????
Out of context: Reply #2
- Started
- Last post
- 3 Responses
- unknown0
that's what I want to do actually but I cant figure out exactly how to do it. Can I do this in the XML file and have it load a new movie in place? I am trying to do it in flash but I am getting lost. my current link code is simple and looks like this:
var array = new Array ();
var xml = new XML ();
xml.onLoad = function ()
{
var header, link;
for (var i = 0; i < this.firstChild.childNodes.lengt... i++)
{
if (this.firstChild.childNodes[i].n... != null)
{
header = this.firstChild.childNodes[i].at...
}
for (var j = 0; j < this.firstChild.childNodes[i].ch... j++)
{
if (this.firstChild.childNodes[i].c... == "link")
{
link = this.firstChild.childNodes[i].ch...
}
}
array.push (new struct (header, link));
}
printer ();
};
xml.load ("linkbase.xml");