Accessing collection information in a component class (AS) file

In a component's class file, you can write code that interacts with collection items defined during authoring or at runtime.

To access collection item information in a component class file, you can use any of the following approaches.