Hi,
I'm trying to read some variables sent by a server.
The input is of this kind:
&var1=123&var2=13&var3=14353&var1=1233&var2=1243&var3=1253
How can I do it in actionscript??
I tried the following code but it doesn't work.
Thank you very much
someListener = new Object();
someListener.onMouseDown = function () {
outputdati = new LoadVars ();
outputdati.onLoad = function (success){
vett1 = [];
i=0;
for (var i in outputdati)
{
text+=i.var1; //text is dinamic textbox
//text += "|"+i +":"+outputdati+"|";
i++;
}
}
outputdati.sendAndLoad ("};
Mouse.addListener(someListener);
I'm trying to read some variables sent by a server.
The input is of this kind:
&var1=123&var2=13&var3=14353&var1=1233&var2=1243&var3=1253
How can I do it in actionscript??
I tried the following code but it doesn't work.
Thank you very much
someListener = new Object();
someListener.onMouseDown = function () {
outputdati = new LoadVars ();
outputdati.onLoad = function (success){
vett1 = [];
i=0;
for (var i in outputdati)
{
text+=i.var1; //text is dinamic textbox
//text += "|"+i +":"+outputdati+"|";
i++;
}
}
outputdati.sendAndLoad ("};
Mouse.addListener(someListener);