[swx] Hey i am new here.
Paul Bainbridge
forums at innovativedesigns.org.uk
Fri May 30 06:08:31 PDT 2008
Hah ha this is great!
I was able to simply mod one of my flash+php contact forms to swx with absolute minimal fuss.
----- Original Message -----
From: holger arndt
To: Paul Bainbridge ; SWX Mailing List
Sent: Friday, May 30, 2008 10:32 AM
Subject: Re: [swx] Hey i am new here.
So you're talking about the PHP side, right?
Cause if you send your objects via SWX and get a result object means that the SWX part is correct.
So on the serverside you just have to take the objects as they are, that's the point in SWX
In Flash everything is a Flash-"thing" and on the Server, everything is a PHP-"thing", no converting necessary
So you have one object in Flash like:
var excel = {property:"My Excel file"}
and send this in the args-Arry to the service "objectTpPhp" then your php-Funktion would be something like this
function objectToPhp($ob){
//...make something
echo "My Excel file = ".$ob->property;
//give SWX a result
return true;
}
Is that what you meant?
If you need help writing excel with php, there are plenty of resources on the web
Cheers,
Holger
Paul Bainbridge:
ok making good ground here :)
from what I can tell all the objects are being passed to swx.
No errors and the return in the script returns[object Object] for one of
the passed objects and this is what I expected to see.
Ok so the next step is how do I go about then breaking down these
objects so I can then start writing the excel file?
I am thinking it will be much similar to how I built them in flash.
Can someone give me a kick start here?
------------------------------------------------------------------------------
_______________________________________________
swx mailing list
swx at osflash.org
http://osflash.org/mailman/listinfo/swx_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swx_osflash.org/attachments/20080530/274ec175/attachment.html
More information about the swx
mailing list