FitC demo Documentation


Table Of Contents

Table Of Contents
Documentation Info
FitC demo Overview
NameLogic class
. . . Properties
. . . Methods
. . . . . . handleNameLoad
. . . . . . init
. . . . . . setName
. . . Events
. . . Associations
NameLoader class
. . . Properties
. . . Methods
. . . . . . getFirstName
. . . . . . getLastName
. . . . . . load
. . . Events
. . . . . . onNameLoad
. . . Associations
NameDisplay class
. . . Properties
. . . Methods
. . . . . . display
. . . Events
. . . Associations

Documentation Info

Author: Grant Skinner
Last Modified: 2003/4/14
Generator: gModeler.com.


FitC demo Overview

Availability

Flash Player 6.

Description

Loads a name from an xml file, then displays it in a field.


NameLogic class

Availability

Flash Player 6.

Usage

new nameLogic()

Parameters

None.

Returns

Nothing.

Description

Handles program logic for the name application.

Example

NameLogic Properties

None.

NameLogic Methods

handleNameLoad : void

Availability

Flash Player 6.

Usage

nameLogic.handleNameLoad()

Parameters

None.

Returns

Nothing.

Description

Handles callback for onNameLoad events from nameLoader instances.

Example

init : void

Availability

Flash Player 6.

Usage

nameLogic.init()

Parameters

None.

Returns

Nothing.

Description

Sets up the name application.

Example

setName : void

Availability

Flash Player 6.

Usage

nameLogic.setName()

Parameters

None.

Returns

Nothing.

Description

Concatenates the name, and sends a request to the nameDisplay class instance to show it.

Example

NameLogic Events

None.

NameLogic Associations

NameLogic has NameLoader
NameLogic has NameDisplay


NameLoader class

Availability

Flash Player 6.

Usage

new nameLoader()

Parameters

None.

Returns

Nothing.

Description

Handles loading and parsing the xml file.

Example

NameLoader Properties

None.

NameLoader Methods

getFirstName : String

Availability

Flash Player 6.

Usage

nameLoader.getFirstName()

Parameters

None.

Returns

A String.

Description

Returns the first name value once loaded, or null if not loaded.

Example

getLastName : String

No documentation available.

load : void

Availability

Flash Player 6.

Usage

nameLoader.load(url)

Parameters

url URL of the xml file to load. (String)

Returns

Nothing.

Description

Sends load request for the specified XML document. Overwrites the built-in load method in FlashMX.

Example

NameLoader Events

onNameLoad : void

No documentation available.

NameLoader Associations

NameLogic has NameLoader


NameDisplay class

No documentation available.

NameDisplay Properties

None.

NameDisplay Methods

display : void

Availability

Flash Player 6.

Usage

NameDisplay.display(name)

Parameters

name The name to display. (String)

Returns

Nothing.

Description

Displays the passed name centered on the stage.

Example

NameDisplay Events

None.

NameDisplay Associations

NameLogic has NameDisplay




Documentation Generated With gModeler.com