SimpleGallery Project Documentation
Table Of Contents
Table Of ContentsAuthor: 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.
Description
Contains classes/packages specific to the Gallery project.
gallery Nested Elements
netNo documentation available.
net Nested Elements
GalleryDelegateNo documentation available.
com.gskinner.events Nested Elements
ListenerDescription
Macromedia's built in ui control components.
mx.controls Nested Elements
ComboBoxNo 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
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
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
No documentation available.
ComboBox Properties
None.
ComboBox Methods
None.
ComboBox Events
None.
ComboBox Associations
Main has ComboBox
No documentation available.
Loader Properties
None.
Loader Methods
None.
Loader Events
None.
Loader Associations
Main has Loader
No documentation available.
ProgressBar Properties
None.
ProgressBar Methods
None.
ProgressBar Events
None.
ProgressBar Associations
Main has ProgressBar