![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Each component has parameters that you can set to change its appearance and behavior. A parameter is a property or method that appears in the Property inspector and Component Inspector panel. The most commonly used properties and methods appear as authoring parameters; others must be set using ActionScript. All parameters that can be set while authoring can also be set with ActionScript. Setting a parameter with ActionScript overrides any value set while authoring.
All v2 components inherit properties and methods from the UIObject class and the UIComponent class; these are the properties and methods that all components use, such as UIObject.setSize()
, UIObject.setStyle()
, UIObject.x
, and UIObject.y
. Each component also has unique properties and methods, some of which are available as authoring parameters. For example, the ProgressBar component has a percentComplete
property (ProgressBar.percentComplete
), while the NumericStepper component has nextValue
and previousValue
properties (NumericStepper.nextValue
, NumericStepper.previousValue
).
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |