I updated oztoc, added the CoreParser Class to the SWC file. will be posting soon about how to use it..
Tag: oztoc
AMFConnection
So here it is, my very simple but useful way to communicate and AMF Server. What did I do? well I just mimicked the way any other XML Call would be.
The API is very simple, an example of it’s usage:
// used packages
import net.oztoc.remoteobject.AMFConnection;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
// create the AMF service
var service:AMFConnection = new AMFConnection();
// set Service’s AMF variables
service.gateway = “http://www.acatl.net:3000/rubyamf_gateway”;
service.remoteClass = “Sessions”;
service.method = “userLogin”;
// add event listeners
service.addEventListener(ResultEvent.RESULT, onResult );
service.addEventListener(FaultEvent.FAULT, onRespond );
// send the data to the server
service.send({user:”acatl”, passwrd:”mypasswrd”});
For more info:
Google code URL:
http://code.google.com/p/oztoc/source/browse/trunk/oztoc/src/net/oztoc/remoteobject/AMFConnection.as
Oztoc!
Yup, I released Oztoc I dont remember when but was some months ago, maybe even a year. you can visit the site at http://www.oztoc.net which is an Open-source Actionscript 3.0 Library.
Here you will find lots of goodies :), the Oztoc framework (MVC Based) inspired by Caringorm but with a tweak, and a special flavor. Also here you will find a very useful Class to communicate with AMF, AMFConnection :).
I have uploaded also some classes that I have implemented on some projects and maybe are just some craziness of mine. Will post detailed info later.
All the code is released under the GNU Lesser General Public License.
enjoy!
