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

Chapter 23. Flash Remoting with ColdFusi... > Let's Begin: ColdFusion Components (...

Let's Begin: ColdFusion Components (CFCs)

Now the fun begins. We have established the structure for our website. We have created a ColdFusion data source. Next, we will discuss how to communicate with ColdFusion. ColdFusion Components (CFCs) are the preferred method to bridge the gap between Flash and ColdFusion.

The filename of the extension .cfc will be used as the service name in ActionScript. In other words, if we name our CFC myCFC.cfc, within Flash our service name will be myCFC. Think of your CFC as a container that holds a lot of tasks (functions). To communicate with any of the functions, you need to call the container name—in this example, myCFC.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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