[swx] Problem sending data: [object Object]
Joe L
flashdev at itstorm.com
Wed Jan 16 05:21:14 PST 2008
One more thing I noticed...
_root.senddata = function(data:Object) {
trace(dati.Lastname);
trace(dati);
trace([dati]);
_root.elementi.Formform.dataHolder.args = [data];
trace(_root.elementi.Formform.dataHolder.args);
SWX.prepare(_root.elementi.Formform.dataHolder);
_root.elementi.Formform.dataHolder.loadMovie("http://localhost/swx/php/swx.php
","POST");
};
The four traces above yield the following results, respectively:
Jones
[object Object]
[object Object]
undefined
So I guess the problem is that the following line:
_root.elementi.Formform.dataHolder.args = [data];
doesn't actually assign the object to dataHolder.args
But why?!
Best regards,
JL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swx_osflash.org/attachments/20080116/0ea691ed/attachment.html
More information about the swx
mailing list