ActionScript 2.0 Components Language Reference |
|
|
|
| Loader component | |||
The Loader component is a container that can display a SWF or JPEG file (but not progressive JPEG files). You can scale the contents of the loader or resize the loader itself to accommodate the size of the contents. By default, the contents are scaled to fit the loader. You can also load content at runtime and monitor loading progress (although after content has been loaded once it is cached, so the progress jumps to 100% quickly).
|
NOTE |
The Loader component is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings. |
A Loader component can't receive focus. However, content loaded into the Loader component can accept focus and have its own focus interactions. For more information about controlling focus, see FocusManager class or Creating custom focus navigation in Using ActionScript 2.0 Components.
A live preview of each Loader instance reflects changes made to parameters in the Property inspector or Component inspector during authoring.
You can use the Accessibility panel to make Loader component content accessible to screen readers. For more information, see "Creating accessible content" in Using Flash.
|
|
|
|