ActionScript 2.0 Components Language Reference |
|
|
|
| Loader component > Customizing the Loader component | |||
You can transform a Loader component horizontally and vertically while authoring and at runtime. While authoring, select the component on the Stage and use the Free Transform tool or any of the Modify > Transform commands. At runtime, use the setSize() method (see UIObject.setSize()).
The sizing behavior of the Loader component is controlled by the scaleContent property. When scaleContent is true, the content is scaled to fit within the bounds of the loader (and is rescaled when UIObject.setSize() is called). When scaleContent is false, the size of the component is fixed to the size of the content and UIObject.setSize() has no effect.
|
|
|
|