Controlling sizes in Flash forms

Sizing elements in a Flash form is something of an art, rather than a science. As a general rule, if you don't specify the height and width attributes, Flash tends to do a good job of laying out the form. However, keep in mind the following considerations:

In general, it is best to use the following process when you design your Flash form.

To determine the sizes of a Flash form and its controls:

  1. When you first create the form, don't specify any height and width attributes on the form or its child tags. Run the form and examine the results to determine height and width values to use.
  2. Specify height and width attributes in the cfform tag for the desired dimensions of the form. You can specify absolute pixel values, or percentage values relative to the size of the containing window.
  3. Specify any height or width attributes on individual tags. These values must be in pixels.
  4. Repeat step 3 for various tags, and possibly step 2, until your form has a pleasing appearance.

View comments in LiveDocs