Button.labelplacement - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

You can also create the button and assign the label entirely in ActionScript using the method
UIObject.createClassObject()
panel to the current document's library, so the component appears in the library, but not on
the Stage. Then, in the first frame of the main timeline, add the following ActionScript:
this.createClassObject(mx.controls.Button, "my_button", 1, {label: "Test
Button"});
See also

Button.labelPlacement

Button.labelPlacement
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
buttonInstance.labelPlacement
Description
Property; sets the position of the label in relation to the icon. The default value is
The following are the four possible values; the icon and label are always centered vertically and
horizontally within the bounding area of the button:
The label is set to the right of the icon.
"right"
The label is set to the left of the icon.
"left"
The label is set below the icon.
"bottom"
The label is set above the icon.
"top"
108
Button component
. First drag the Button component from the Components
.
"right"

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents