SimpleGallery Project Documentation


Table Of Contents

Table Of Contents
Documentation Info
SimpleGallery Project Overview
gallery package
net package
com.gskinner.events package
mx.controls package
GalleryDelegate class
. . . Properties
. . . . . . directory
. . . . . . title
. . . Methods
. . . . . . getDataProvider
. . . . . . load
. . . Events
. . . . . . load
. . . Associations
Main class
. . . Properties
. . . Methods
. . . Events
. . . Associations
Listener class
. . . Properties
. . . . . . functionName
. . . . . . target
. . . Methods
. . . Events
. . . Associations
ComboBox class
. . . Properties
. . . Methods
. . . Events
. . . Associations
Loader class
. . . Properties
. . . Methods
. . . Events
. . . Associations
ProgressBar class
. . . Properties
. . . Methods
. . . Events
. . . Associations

Documentation Info

Author: Grant Skinner
Last Modified: 2004/2/19
Generator: gModeler.com.


SimpleGallery Project Overview

Availability

Flash Player 7.

Description

The SimpleGallery project loads an external xml file containing image urls and related meta data, then displays a listing of image names. When the user chooses an image, it loads it, and displays the related meta data.


gallery package

Description

Contains classes/packages specific to the Gallery project.

gallery Nested Elements

net
GalleryDelegate
Main

net package

No documentation available.

net Nested Elements

GalleryDelegate

com.gskinner.events package

No documentation available.

com.gskinner.events Nested Elements

Listener

mx.controls package

Description

Macromedia's built in ui control components.

mx.controls Nested Elements

ComboBox
Loader
ProgressBar

GalleryDelegate class

No documentation available.

GalleryDelegate Properties

directory : String

Availability

Flash Player 7.

Usage

GalleryDelegate.directory

Description

Getter property that returns the url of the directory the gallery images can be found in if a gallery is loaded, or undefined if no gallery is loaded.

Example

title : String

Availability

Flash Player 7.

Usage

GalleryDelegate.title

Description

Getter property that returns the title of the loaded gallery, or undefined if no gallery is loaded.

Example

GalleryDelegate Methods

getDataProvider : Array

Availability

Flash Player 7.

Usage

GalleryDelegate.getDataProvider()

Parameters

None.

Returns

A Array.

Description

Returns an array of the loaded image objects if a gallery is loaded, or undefined if no gallery is loaded.

Example

load : Void

Availability

Flash Player 7.

Usage

GalleryDelegate.load(url)

Parameters

url The url of a gallery xml document. (String)

Returns

Nothing.

Description

Loads the xml gallery data at the specified url.

Example

GalleryDelegate Events

load :

Availability

Flash Player 7.

Usage

GalleryDelegate.addEventListener("load",lstnrObj)

Parameters

None.

Returns

Nothing.

Description

Event dispatched when the gallery xml has been successfully loaded and parsed.

Example

GalleryDelegate Associations

Main has GalleryDelegate


Main class

No documentation available.

Main Properties

None.

Main Methods

None.

Main Events

None.

Main Associations

Main has
Main has
Main has
Main has
Main is dependent upon


Listener class

Availability

Flash Player 7.

Usage

new Listener(target,functionName,eventName,dispatcher)

Parameters

target Target object to receive event. (Object)

functionName Name of function to call when event occurs. (String)

eventName Name of event to subscribe to. (String)

dispatcher Object broadcasting the event. (Object)

Returns

Nothing.

Description

Simplifies subscribing to events and dispatching event to specific functions.

Example

Listener Properties

functionName : String

Availability

Flash Player 7.

Usage

Listener.functionName

Description

The name of the function to call when the event occurs.

Example

target : Object

Availability

Flash Player 7.

Usage

Listener.target

Description

The target object in which to call the function functionName when the event occurs.

Example

Listener Methods

None.

Listener Events

None.

Listener Associations

Main is dependent upon Listener


ComboBox class

No documentation available.

ComboBox Properties

None.

ComboBox Methods

None.

ComboBox Events

None.

ComboBox Associations

Main has ComboBox


Loader class

No documentation available.

Loader Properties

None.

Loader Methods

None.

Loader Events

None.

Loader Associations

Main has Loader


ProgressBar class

No documentation available.

ProgressBar Properties

None.

ProgressBar Methods

None.

ProgressBar Events

None.

ProgressBar Associations

Main has ProgressBar




Documentation Generated With gModeler.com