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

Chapter 20. Building Flash Remoting Services > Building flashComponent.cfc

Building flashComponent.cfc

Components make Flash development even easier than ColdFusion pages. First, you don’t need to use the FLASH variable scope because ColdFusion components natively support interacting with Flash movies. Also, you can define any number of component functions for Flash movies to call without making additional connections to ColdFusion.

You are going to build a ColdFusion component that contains only one component function, sendEmail. The sendEmail function contains the CFMAIL tag, which lets you send email from ColdFusion applications. The CFMAIL tag is a relatively simple tag with attributes similar to emails that you send every day, such as from, to, cc, subject, and so on. For example:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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