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

Adding a Label

A Label component consists of a single line of text. You can specify that a label be formatted with HTML. You can also control alignment and sizing of a label. Label components do not have borders, nor do they contain input that can be changed by the user. They are simply text information. Labels can be used to identify data input fields, or they can contain visitor information important to the understanding of a form. In addition, Labels can change what they display, as the Flash movie plays.

Add a Label Component

Open the Components panel.

Click the UI Components Expand triangle.

Drag one or more Label components onto the Stage, and then select the component, one at a time.

Open the Component Inspector panel, and then select the Parameters tab.

Did You Know?

You can use the Label component to display short help messages, when needed. Locate a blank label component on the Stage, and then create an ActionScript to instruct the Label component to display information when a problem occurs. For example, you could have the Label component display a message such as: Please Enter Your Name, if the visitor does not fill out the required Name field on an order form.


Select from the following Label parameters:

  • autoSize. Click the value field, and then select between left, center, right, or none. The autoSize parameter uses this information when automatically resizing the text.

  • html. When you click the value field, select true, to allow HTML to control the formatting of the text. If you select false, the field cannot be modified using HTML.

  • text. Click the value field, and then enter the text that will appear in the field when the Flash document opens.

  • visible. When you click the value field, and select true, the field can be viewed. If you select false, the field is invisible.

  • minHeight. Click the value field, and then enter a minimum height for the Label.

  • minWidth. Click the value field, and then enter a minimum width for the Label.

Click the Control menu, and then click Test Movie.

The Label components represent visitor information. For example, labeling fields that require visitor input.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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