• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Accessing External Data > Macromedia Flash Remoting MX

Macromedia Flash Remoting MX

Flash Remoting MX can interface with most Web Services or interact with Application Servers that are supported by Macromedia. The technology uses a format called Action Message Format (AMF). This format is unique in that it transfers binary data between the Application Server's Flash Gateway and either the Flash player or the Flash Communication Server. Traditionally, Flash developers were pinned to the floor with XML. I'm not saying that XML is bad; in fact, it's quite the opposite. XML is a great, user-friendly form to transmit data. Being so user-friendly, it carries some overhead. Parsing XML in Flash is complicated and relatively slow. Macromedia, with the release of Flash Player 6, dramatically improved the XML parsing engine in Flash; however, it really doesn't compare to the speed both in development and at runtime of Flash Remoting MX.

Connecting with Application Servers is now a very natural event for both the Flash player and the Flash Communication Server. Application Servers are intermediary technology that can expose server resources to public interfaces such as HTML, Flash, or external servers. Traditionally, the Application Server was used to expose database information or as a framework to manage content via a web browser or some Internet user interface. Flash developers learned very quickly (in Flash 4.0) that you could use an Application Server to deliver content to the Flash player using the loadVariables() method. In Flash 5.0, Macromedia extended this functionality with the XML object. Both of these operations involved heavy code and development to assemble, transport, and convert into ActionScript objects. Flash Remoting MX was introduced in Flash MX as a way to remove the preparation stage that was required to transfer database data or add advanced server resources to the Flash movies. Server resources could include databases, email servers, LDAP servers, and even file systems.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint