[swx] Problem sending data: [object Object]

Joe L flashdev at itstorm.com
Wed Jan 16 04:26:24 PST 2008


Hi,

I'm new to SWX - I just "inherited" a project which uses it, and I'm
beginning to like the idea behind it.
However, I have a problem sending data to the server. When I do the
following:

_root.senddata = function(data:Object) {
    _root.elementi.Formform.dataHolder.args = [data];
    SWX.prepare(_root.elementi.Formform.dataHolder);
    _root.elementi.Formform.dataHolder.loadMovie("http://localhost/swx/php/swx.php
","POST");
};

the value of the "args" parameter in the request is literally "[object
Object]", instead of the contents of the 'data' object.
I'm sure I'm missing something completely trivial, but could some please
point me in the right direction?

Many thanks in advance,

JL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swx_osflash.org/attachments/20080116/aa12b953/attachment.html 


More information about the swx mailing list