O'Reilly logo

Flex on Rails: Building Rich Internet Applications with Adobe Flex 3 and Rails 2 by Daniel Wanja, Tony Hillerson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5 Passing Data with AMF

This chapter shows you how to pass data to and from Flex and Rails using a slightly different method than XML: Adobe’s binary AMF protocol with the RubyAMF Rails plug-in.

What Is AMF?

AMF stands for Action Message Format. This standard format is for encoding data to use in ActionScript. Macromedia created AMF as a way to make connecting a Flash interface with a “back-end” service a lot easier. As long as the service understands how to encode and decode AMF messages, applications written in ActionScript can communicate with the service as if it were a part of the running program, at least as far as the type of the objects is concerned.

This concept enables very powerful Remote Procedure Call (RPC) or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required