Label Component - Adobe 65036570 - Director - PC User Manual

User guide
Hide thumbs Also See for 65036570 - Director - PC:
Table of Contents

Advertisement

Method
DateChooser.displayedYear
DateChooser.firstDayOfWeek
DateChooser.monthNames
DateChooser.selectableRang
e
DateChooser.selectedDate
DateChooser.showToday
Event summary for the DateChooser class
Method
DateChooser.change
DateChooser.scroll

Label component

A label component is a single line of text. You can specify to format the label with HTML. You can also control
alignment and sizing of a label. Label components don't have borders, cannot be focused, and don't broadcast any
events.
Use a Label component to create a text label for another component in a form, such as a "Name:" label to the left of
a TextInput field that accepts a user's name. If you're building an application using components based on version 2
(v2) of the Adobe Component Architecture, it's a good idea to use a Label component instead of a plain text field
because you can use styles to maintain a consistent look and feel.
Label parameters
You can set the following authoring parameters for each Label component instance in the Property inspector or in
the Component Inspector panel:
text indicates the text of the label; the default value is Label.
html indicates whether the label is formatted with HTML (
, a Label cannot be formatted with styles. The default value is
true
autoSize indicates how the label sizes and aligns to fit the text. The default value is none. The parameter can be any
of the following four values:
none—the label doesn't resize or align to fit the text.
left—the right and bottom sides of the label resize to fit the text. The left and top sides don't resize.
center—the bottom side of the label resizes to fit the text. The horizontal center of the label stays anchored at the
its original horizontal center position.
right—the left and bottom sides of the label resize to fit the text. The top and right side don't resize.
Description
A number indicating the year to display.
A number indicating an element in the
column of the date chooser.
An array of strings indicating the month names.
A single selectable date or a range of selectable dates.
A Date object indicating the selected date.
A Boolean value indicating whether the current date is highlighted.
Description
Broadcast when a date is selected.
Broadcast when the month buttons are pressed.
array to display in the first
dayNames
) or not (
). If the
true
false
.
false
ADOBE DIRECTOR 11.0
User Guide
parameter is set to
html
223

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents