Hi Coders

I have problem with the following code. I cannot return the value but i can
trace inside the onload. I am mentioning the dummyXML. Anyone can help would
be appricated.

function mloader(file, toobject) {
encLoad = new LoadVars();
encLoad.onLoad = function(success) {
 xmldata = encLoad.data;
 decdata = RC4.decrypt(xmldata, "mykey");
 dummyXML = new XML();
 dummyXML.ignoreWhite = true;
 dummyXML.parseXML(decdata);
 return dummyXML;
};
encLoad.load(file);
}
kk = mloader("parent.xml.enc", "kk");
trace(kk);
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to