Hi there,

im pretty new to c# and i'm facing some starting problems naturally.
Currently i'm working on a project where i need to store data from flash in a xml file.
I've managed to write the code for generating the xml but i didn't manage to retrieve the data from the flash file so far.

this is my code in ActionScript 2.0:

var myvar:Object = new Object();
myvar.test = "test";

var mySender:LoadVars = new LoadVars();
mySender.onLoad = function(success:Boolean){
    if(success){
          trace("yes");
     } else {
		 trace("no")
	}

}
mySender.sendAndLoad("http://localhost:3645/XMLGenerator2/Default.aspx", myvar);

Can anybody help me in retrieving the data in c# please?

Thx a lot :)

Best Regards, MClay

Try use shared file between your C# and Flash, both read and write in the .xml file. And C# has a great classes located in System.XML namespace help you to interact with .xml files.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.