function ReadDataFromXML(filename) { Data = new XML(); Data.load(filename); Data.ignoreWhite=true; if (Data.loaded) { }else { trace("ERROR!"); } }