GhostWire UI Components (Flash ActionScript 1.0/2.0)

GhostWire CollapsiblePane

This Flash component allows you to create an interface for displaying information in different collapsible sections.

Example

The following is an example of the CollapsiblePane component (filesize 15KB, approximately 4KB when empty)

Features

Accordion Mode

This component can also function as an Accordion Pane, simply by setting the Mode of the component to 'Accordion' instead of 'Collapsible' (see Configurations). When functioning in the Accordion mode, only one section can be selected by the mouse for display at any time (but can be overriden by actionscript). Example:

Load HTML Text

The CollapsiblePane component will attempt to load a movieclip with an identifier specified by 'data' in the properties of the component, failing which, the 'data' will be displayed as text in the designated pane. The text thus displayed is html enabled.

Snap to Pixel

The component snaps to pixel when published, ensuring that it looks crisp and sharp when the movie plays. Usually to achieve this, you need to ensure that you place your movieclips at integer coordinates (no decimal place) during authoring time. This is not necessary with GhostWire components, which will automatically snap to pixel when published. For example, if the component was placed at x coordinate 20.2, when published it will be placed at x coordinate 20.0 instead. In addition, the component also resizes itself to integer widths and heights.

Truly Skinnable

The visual assets are properly packed away from the behavioral code, making it really easy to create CollapsiblePanes that look exactly the way you want. Example: