[swx] Hey i am new here.

holger arndt holger.arndt at synap.de
Fri May 30 02:32:58 PDT 2008


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?
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swx_osflash.org/attachments/20080530/70fc8e16/attachment.html 


More information about the swx mailing list