User Guide

Table Of Contents
690 Chapter 29: Creating Forms in Macromedia Flash
.
2 cfformgroup type="horizontal" -- Follows the tabnavigator in the form
3 cfinput type="submit" -- Submit button control
3 cfinput type="reset" -- Reset button control
The following sections describe how you use the various Flash form elements to build a Flash
form.
Adding text, images, rules, and space with the cfformitem tag
Because Flash forms do not support inline HTML, you use the
cfformitem tag to add text
blocks and horizontal and vertical rules to your form. (Flash form controls, such as
cfinput, use
the
label or value attribute to specify text labels.) You can also use the cfformitem tag to add
spacers between visual form elements.
The
cfformitem type="hrule" and cfformitem type="vrule" tags put horizontal and
vertical rules in the form. You can specify the rule thickness, color, and shadow characteristics by
using style specifications. For more information on specifying rule styles, see “Styles for
cfformitem with hrule or vrule type attributes” in Chapter 4, “ColdFusion MX Flash Form Style
Reference” in CFML Reference.
The
cfformitem type="spacer" tag puts a blank space of the specified height and width on
the form. This tag type does not use styles; it can be useful in improving the form appearance by
helping you control the form layout.
The
cfformitem type="text" tag lets you insert plain text in the form You can use the style
attribute to apply a consistent format to the text.
The
cfformitem type="html" tag lets you insert formatted text and images in the form. You
can include basic HTML-style formatting tags in the body of this tag to add images and to format
and style the text.
You can use the following formatting tags and attributes in the body of a
cfformitem
type="html"
tag:
:
Tag Valid attributes
a
href
URL to link to.
target window name; can be a standard HTML window name such as _blank.
b
None.
br
None.
font
color
Must be in hexadecimal format, such as #FF00AA. Use a single number
sign (#) character.
face Can be a comma-delimited list of font face names; Flash uses the first font that
is available on the client system.
size In pixels; + and -relative values are allowed.
i
None.
img
See the attribute table for the img tag.
Note: You must close this tag with /> or an </img> tag.