View comments | RSS feed

About Flash forms

ColdFusion MX can deliver forms to the client in Macromedia Flash (SWF) file format. ColdFusion automatically generates the Flash binary from your CFML code and displays it on the client. Flash forms have the following advantages over HTML forms:

Note: Flash form configuration requirements differ from ColdFusion MX requirements. For example, Flash forms might not work with all J2EE servers supported by ColdFusion MX. For more information, see Installing and Using ColdFusion MX.

In addition to creating Flash forms, ColdFusion MX lets you specify Flash format for cfcalendar, cftree, and cfgrid tags. Use these tags to embed Flash calendar choosers, trees, and grids in HTML forms, to eliminate the need to use Java applets. This chapter does not specifically discuss using Flash grids and trees in HTML forms; however, the information in this chapter about grids and trees also applies to these elements.

A Flash form example

Flash forms provide many features that help you quickly create easy-to-use, professional-looking, complex forms. The following figure contains a two-tab form that shows many of these features:



This form includes the following features:

Flash form CFML differences from HTML forms

Because ColdFusion MX sends a Flash form to the client in SWF format, everything inside a Flash form is rendered by Flash. Rendering the form in Flash has several effects:

The reference pages for the individual tags in CFML Reference describe the form tags and their features, indicating which attributes and values work with Flash forms. This chapter describes how you can use CFML tags to build effective Flash forms.


ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | KnowledgeBase | Bug Reporting

Version 7

Comments


jrunrandy said on Feb 16, 2005 at 10:48 AM :
If you are encountering slow load times for Flash forms, see the "Best practices" discussion on http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001408.htm.
jrunrandy said on Mar 7, 2005 at 10:14 AM :
This page neglects to mention that cfform height/width are required for flash forms, if they are used inside of a table. I have entered this into our bug tracking system as bug number 59900.
GameDev said on Feb 27, 2006 at 1:14 PM :
This page also fails to mention the hard limit on SWF compile size, which currently flags errors over 64k. The docs say its great for long multipage forms, yes too much code and your out of luck.
CFsolar said on Jul 20, 2006 at 8:07 AM :
the docs above say: "Flash form configuration requirements differ from ColdFusion MX requirements. For example, Flash forms might not work with all J2EE servers supported by ColdFusion MX. For more information, see Installing and Using ColdFusion MX."
There is very little if any information in the "Installing and Using ColdFusionMX" docs about configuring CF for use with Flash Forms. Is there any special configuration required for a standard WindowsXP/Apache installation?
jimandsilentbob said on Feb 16, 2007 at 1:12 PM :
Well, Apache is not the J2EE server, JRun 4 is the default.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/7/htmldocs/00001389.htm