Estou tentando de alguma forma passar os valores de uma variável ("dados" ->que agrupa 3 outras variaveis) para o php...mas não tá passando nenhum valor. Quando eu dou o trace a resposta vai aparecendo da seguinte forma:
1;20;80|2;55;33|3;200;300|4;320;290|3;220;190| 1;20;80|2;55;33|3;200;300|4;320;290|3;220;190|1;86;113| 1;20;80|2;55;33|3;200;300|4;320;290|3;220;190|1;86;113|2;151;61|
ob.: a cada vez que eu movimento o movieclip ele adiciona um grupo de "id+x+y|"
O código do flash vai abaixo:
this.createEmptyMovieClip("conteiner", this.getNextHighestDepth());
var meuXML:XML = new XML();
var inicio:Number = 0;
meuXML.ignoreWhite = true;
meuXML.onLoad = function() {
var arrId = new Array()
var arrNome = new Array()
var arrXpos = new Array()
var arrYpos = new Array()
var dados="";
var todos=meuXML.childNodes[0].childNodes
for (i=0; i<meuXML.firstChild.childNodes.length; i++) {
var id_user:String = (todos[i].childNodes[0].childNodes).toString();
var nome:String = (todos[i].childNodes[1].childNodes).toString();
var xpos:String = (todos[i].childNodes[2].childNodes).toString();
var ypos:String = (todos[i].childNodes[3].childNodes).toString();
arrXpos[i] = xpos;
arrYpos[i] = ypos;
arrNome[i] = nome;
arrId[i] = id_user;
}
while (inicio<arrXpos.length) {
conteiner.attachMovie("carinha_feliz", "carinha_feliz"+inicio, inicio);
var item:MovieClip = eval(conteiner["carinha_feliz"+inicio]);
item._x = (arrXpos[inicio]);
item._y = (arrYpos[inicio]);
item.id = (arrId[inicio]);
item.nome = (arrNome[inicio]);
xPos = getProperty(item, _x);
yPos = getProperty(item, _y);
id = (item.id);
nome = (item.nome);
dados+=item.id + ";" +item._x + ";"+item._y + "|";
item.onPress = function() {
this.startDrag(false,18,19,413,333);
};
item.onRelease = function() {
this.stopDrag();
xPos = getProperty(this, _x);
yPos = getProperty(this, _y);
id_user = (this.id);
nome = (this.nome);
dados+=this.id + ";" +this._x + ";"+this._y + "|"
_root.createTextField("mytext",20,20,360,300,20);
mytext.text = ("Nome: "+nome+" id_user: "+id_user+" xPos:"+xPos+" yPos: "+yPos);
trace (dados);
};
inicio++;
}
};
meuXML.load("uploads/user.xml");
bt_enviar.onRelease = function() {
getURL("enviar.php", "_self", "POST");
};Alguma idéia do que pode estar causando isso?

Help














