The Alignment class provides a number of constants that can be used to set properties in the AdvancedTree, more specifically for the scrollbarHorizontalSide and scrollbarVerticalSide properties of the scrollPaneConfiguration property. All constants are static members of the Alignment class. No instances of the class need to be made.
| Property Name | Class | Value |
| BOTTOM | String | "bottom" |
| LEFT | String | "left" |
| RIGHT | String | "right" |
| TOP | String | "top" |
Alignment is found in the com.flashloaded.ui.layout package. An example of its use follows:
import com.flashloaded.ui.containers.ScrollPaneConfiguration;
import com.flashloaded.ui.layout.Alignment;
var config:ScrollPaneConfiguration = new ScrollPaneConfiguration();
config.scrollbarWidth = 12;
config.scrollbarHorizontalSide = Alignment.LEFT;
tree.scrollPaneConfiguration = config;