OK…
This is so basic but I just can’t get XML to talk to Flash for me. ;(
I want Flash to grab the one & only elements from XML, load it into my player (which works) & play it automatically.
Anything obvious? I’m confused.
Here’s my AS
var vList:XML = new XML();
vList.ignoreWhite = true;
vList.load('oneVideo.xml');
vList.onLoad = function(){
ns.play(0);
};
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
<videos
theVideo="videos/1.flv"/>
</videos>