I really need help - this project ive been working on for months is seriously jeopardised cause of this stupid thing.
ive got 2 XML objects
var XMLreciever = new XML();
XMLreciever.ignoreWhite = true;
//
var XMLsender = new XML();
XMLreciever.ignoreWhite = true;
then i try and sendAndLoad to a cfm
XMLreciever.onLoad = function(success:Boolean) {
if (success) {
_root.debug_txt.text = _root.XMLreciever;
_root.createTextField("textinfofield", 222, 55, 55, 200, 50);
_root.textinfofield.text = "SUCCESS ASSUMED - LETS HOPE";
//
_root.play();
} else {
_root.debug_txt.text = this;
_root.createTextField("textinfofield", 222, 55, 55, 200, 50);
_root.textinfofield.text = "FAILURE ASSUMED - DAMMIT";
}
};
////
XMLsender.parseXML("<mapID>"+mapID+"</mapID>");
///
XMLsender.sendAndLoad("flash_map_xml.cfm", XMLreciever);
//
and i get the **success **message - but then if i try to use the xml vars i passed - everything is undefined!!! if i use a .cfm with the output in there, ie one that doesnt execute a query, it works fine - but if i use the proper one that calls the database - it doesnt work!
please any help about XML sendAndLoad with CFM i need!