Notes
Friday May 02, 2003
Switching off retrieval of properties from server
Sometimes, you may not want the server to return the properties of the remote object to Flash. This is especially true if you know you are not going to need the data. You might be using the remote object to perform some server side tasks that will never affect the object's properties. Or the server task may use the object properties without ever changing them (it returns a result instead, for example). You may be using remote methods that take in parameters and return results without looking at the object's properties (or updating them).
If you just want to invoke a remote method, perform a server-side task, and receive a result, you can switch off the retrieval of the remote object's properties. This can save you quite a bit of bandwidth by trimming the return message. You set this behavior by passing a third parameter when creating the PHPObject:
|
Comments
You are the best.... Posted by: Remi at May 4, 2003 12:27 AM
|
