Category: Ruby/Rails

RubyAMF and AS2 (follow-up to AS3 + SSR, RubyAMF, and RESTful Rails)

A quick follow-up post to my tutorial on Flash and RubyAMF — RubyAMF can of course be used with AS2. Here’s a short AS block showing a call to the index method of the PeopleController: [as] // remoting import mx.remoting.Service; import mx.remoting.PendingCall; import mx.rpc.RelayResponder; import mx.rpc.ResultEvent; import mx.rpc.FaultEvent; var peopleService:Service = new Service(“http://localhost:3000/rubyamf/gateway”, null, “PeopleController”, […]