User Guide

Table Of Contents
Building Flash forms 691
The img tag supports the following attributes:
Note: Because of the Flash dynamic sizing rules, to ensure that the image displays properly, you
might have to specify the
formitem tag height attribute and the width and height attributes for the
form or the containing
cfformgroup tag. Also, the image always displays on a new line, not inline with
text, and text that follows the image in your code occupies any available space to the right of the
image.
The textformat tag is specific to Flash, and has the following attributes:
For detailed descriptions of these tags, see the Flash documentation.
The following code creates a simple Flash form that consists of a formatted text area surrounded
by horizontal rules:
<cfform name="myform" height="220" width="400" format="Flash" >
<!--- Use text formitem tag with style specifications for the heading. --->
li
None.
p
align
Must be one of the following: left, right, center.
textformat
See the attribute table for the textformat tag.
u
None.
Attribute Description
src
(Required) URL or pathname to a JPEG or SWF file. Images are not displayed
until they have downloaded completely. Flash Player does not support
progressive JPEG files.
width
Width of the image, in pixels.
height
Height of the image in pixels.
align
Horizontal alignment of the embedded image within the text field. Valid values are
left and right. The default value is left.
hspace
Number of pixels of horizontal space that surround the image where no text
appears. The default value is
8.
vspace
Number of pixels of vertical space that surround the image where no text appears.
The default value is
8.
Attribute Description
blockindent
Block indentation, in points.
indent
Indentation from the left margin to the first character in the paragraph.
leading
Amount of leading (vertical space) between lines.
leftmargin
Left margin of the paragraph, in points.
rightmargin
Right margin of the paragraph, in points.
tabstops
Custom tab stops as an array of nonnegative integers. To specify tabs in text, use
the \t escape character.
Tag Valid attributes