This page is no longer updated - please visit http://ghostwire.com Thank you!
 

« PHPObject »
An Opensource Alternative to Flash Remoting
Current Release
Readme
Notes
Journal
Archives

Journal
Sunday April 20, 2003

Movieclips

I am working to make it possible to pass movieclips to the server. Ooops, sorry, that is a wrong statement. It is just not possible to do it. We are not working with binaries here.

But we can set a movieclip as a PHPObject, inheriting the behavior of both a movieclip as well as that of a PHPObject. I am working to enable a PHPObject-movieclip to link with a remote PHP class, pass its properties (_x, _y, _alpha, etc.) to the server, get its properties changed at the server side (or stored) and get its new properties from the server, and assume these new properties automatically upon server result (if the server has changed the _x, the movieclip will move to new _x when the results return).

Is this useful? I am not sure yet. This is nothing you can't do already. You can achieve the same effect by passing a movieclip's properties to a PHPObject before getting the object to invoke the remote method(s). And then onResult, handle the results and manipulate the movieclip accordingly. The benefits of setting a movieclip as a PHPObject, though, will be skipping those steps of passing values between a movieclip and a PHPObject.

If I do release this feature, it will be as an optional extension to PHPObject - you include an additional .as file if you want to use it.

Posted by sunny at April 20, 2003 06:49 PM

 

Comments

 

Post a comment









Remember personal info?







Zones



Forums