Tag: AS3

Fresh new Look and feel for Teztoc

After taking with Genaro ( ex-coworker) seemed like Teztoc was actually being used! woha!! heeh, and he gave me some feedback on the functionality that would make Teztoc a much more useful application, seems like it is a tool that could potentially be used to show clients previews of the components while on development phase, so why not make it a bit more nicer right? add some enhancements to the navigation, etc… so here is what I’ve got so far.

check out a live example here

Updated Oztoc

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

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