April 2009

Updated Oztoc

I updated oztoc, added the CoreParser Class to the SWC file. will be posting soon about how to use it..

what can say?… I’m Polo’s friend!!

Wahooo!!!  coders!! yes!! I’m Polo’s Friend, or better known on the web as Zero Kernel, ..  this dude posted a very cool example of Degrafa which you have to check out! …. and? well first he got twittered by Degrafa, now.. he is on the dynamic graphics section of Degrafa’s offical site!!!! WTF!!!

check it out: http://www.degrafa.org/samples/dynamic-graphics.html

congrats man!! can I move by your desk?

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:

http://www.oztoc.net

Google code URL:

http://code.google.com/p/oztoc/source/browse/trunk/oztoc/src/net/oztoc/remoteobject/AMFConnection.as