as3 RESTful RPC code generator