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

28. Flash Remoting > 28.2. Interacting with ColdFusion Pages

Interacting with ColdFusion Pages

Prior to Flash Remoting, communication between Flash and ColdFusion was a little awkward. On the Flash end, you wrote ActionScript code that called a ColdFusion page via the Flash loadVars object. This object had a method called load( ) that took the URL of a page (in this case ColdFusion) that output variable names and values in a format that Flash could understand. Interaction using this method was fairly cumbersome, on both the Flash and ColdFusion sides. Additionally, it was difficult to pass complex datatypes, such as query record sets, arrays, and structures, between ColdFusion and Flash. Typically, these complex types had to be broken down into simpler name/value pairs before they could be passed. ColdFusion MX and Flash Remoting change this paradigm completely. Combined, these technologies allow you to pass various ColdFusion and Flash datatypes back and forth between Flash and ColdFusion as if they were native datatypes.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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