I am loading some video in through xml and when I run the function that plays the video I get the error: Unable to make connection to server or to find FLV on server.
My flv component is inside of a movieClip ( for attachMovie purposes ) vidPlayer is the instance name of the actual component.
function loadVid(itemID:Number, target:Number) {
var src = projXML.firstChild.childNodes[target].childNodes[itemID].attributes.src;
var width = projXML.firstChild.childNodes[target].childNodes[itemID].attributes.width;
var height = projXML.firstChild.childNodes[target].childNodes[itemID].attributes.height;
var vidClip = _root.createEmptyMovieClip("vidHolder", 5687);
vidClip.attachMovie("vidMC","vidMC",5888);
var connection:NetConnection = new NetConnection();
connection.connect(null);
var stream:NetStream = new NetStream(connection);
vidClip.vidPlayer.attachVideo(stream);
vidClip.vidPlayer.play(src);
}