bgx:components logo
© 2004 -2005
Bernhard Gaul



Bgx Flexible List Component (Flash MX 2004)

The BGX Flexible List component provides list logic to create dynamic lists using virtually any MovieClip you like, giving you total freedom in the way your list items may look or behave.

Easy implementation

Simply assign any MovieClip as the clip to use for the list items. The component will automatically take care of repeating the item, scroll options etc.

To implement event handling you only have to:

  • place a button or hotspot called rowBtn in the MovieClip to define the area where rollOver and press events shall be received
  • place another MovieClip called bgClip on a background layer with four frames to handle rollover and selection effects

No implementation of further ActionScript is necessary, however the component automatically assigns the variables itemIndex and data to each item instance that can be used for custom functionality like presetting checkboxes etc.

TextFields named following a naming convention will automatically be bound to specified properties in the dataProvider.

Functionality

The BGX Flexible List provides most of the properties and methods provided by the Macromedia List Component and some more, like:

  • horizontal repeat to create grid structures
  • multiple field names binding (like with the Datagrid Component)
  • the possibility to trigger rollover events externally, e.g. to highlight a list item when an external object is rolled over
  • others like moveItemUp, moveItemDown, removeSelected etc.

The component does not provide scrolling logic of its own but can easily be used with the Macromedia ScrollPane component.

Example Library

The component comes with a library of sample item clips that will be available from the Common Libraries after installation. Use this clips as-is or to start off your own customizations.

Examples

Below are just some screen shots showing list types that can easily be created with the Bgx Flexible List component.

View the usage examples to see the same lists in action including code and instructions.

Multi-field lists with standard icons:

Checkbox lists:

Have full control over the kind of highlight effect you want:

Horizontal repeats and list items of just about any kind:


View usage examples of the component.

 

For further information please contact info@bgxcomponents.com.

 

Resources

View the documentation

View usage examples

 

Distribution

You will receive the BGX Flexible List as MXP file plus a ZIP file that also contains documentation and usage examples.


Buy now