com.johnpolacek.components

Package
Classpath: com.johnpolacek.components

Classes

ButtonGrid

Adds simple button interactivity to ImageGrid

ContentContainer

The ContentContainer class is designed for the loading and display

ContentPanel

The ContentPanel class displays content in a panel

GridGallery

Loads an array of thumbnails and arranges them in a grid.

ImageGrid

Loads and arranges images in a grid

Lightbox

The Lightbox class is used to show various media (video, images, audio)

LightboxContentInfo

The LightboxContentInfo class contains information for a

LightboxFormat

The LightboxFormat class represents formatting information.

LightboxWindow

The LightboxWindow class contains the ContentDisplay sprite.

Functions

loadContentFromXML

function loadContentFromXML(contentXML:XML) : void

Creates content elements from xml.

Parameters
xml:XML with CDATA containing the html for the content. Default: null (No styling)

loadXML

function loadXML(url:String) : void

Loads xml, then loads content

Parameters
xml:XML with CDATA containing the html for the content.

onXMLLoadComplete

function onXMLLoadComplete(event:Event) : void

XML loader complete handler.

onXMLLoadError

function onXMLLoadError(event:IOErrorEvent) : void

XML loader io error handler.