hi All,
i want to load multiple xmls using single function like
function loadXML(xmlFileName,xmlObj) {
XMLContent = new XML();
XMLContent.load(xmlFileName);
XMLContent.ignoreWhite = true;
XMLContent.onLoad = function(success) {
if (success) {
runObj[xmlObj] = XMLDocToObject(XMLContent);
}else{
trace(“error loading xml”);
}
}
function loadXML(“myxml1.xml”,“content”)
function loadXML(“myxml2.xml”,“display”)
now i want that the palyhead should jump to a particular frame label only when it completes loading ‘myxml2.xml’.
any suggestions !!!