Main Page | Packages | Class Tree | Index | Help

mx.screens

class Form

Object
  |
  +--MovieClip
        |
        +--mx.core.UIObject
              |
              +--mx.core.UIComponent
                    |
                    +--mx.core.View
                          |
                          +--mx.controls.Loader
                                |
                                +--mx.screens.Screen
                                      |
                                      +--mx.screens.Form


class Form
extends Screen

Form class - extends Screen - enables author-defined handling of Form visibility and containment



Field Summary


className: String
name of this class

static
symbolName: String
SymbolName for object

static
symbolOwner: Object
Class used in createClassObject

Fields inherited from class mx.screens.Screen

borderStyle, className, symbolName, symbolOwner

Fields inherited from class mx.controls.Loader

__autoLoad, __bytesLoaded, __bytesTotal, __contentPath, __scaleContent, className, clipParameters, contentHolder, livePreview, mergedClipParameters, symbolName, symbolOwner, version

Fields inherited from class mx.core.View

__tabIndex, border_mc, boundingBox_mc, childNameBase, className, createClassChildAtDepth, depth, loadExternal, symbolName, symbolOwner, version

Fields inherited from class mx.core.UIComponent

clipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, version

Fields inherited from class mx.core.UIObject

__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version

Fields inherited from class MovieClip

_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursor

Fields inherited from class Object

__proto__, constructor, prototype

Property Summary

public static
currentFocusedForm: Form (read-only)
Leaf-node form that contains the current focused field or component Read-Only: use setFocus() to set the focus

public
indexInParentForm: Number (read-only)
zero-based index of this form in its parent (getChildForm) Read-Only: use createChild() to add new child form

public
numChildForms: Number (read-only)
number of children of this form that are forms, not including slides Read-Only: use createChild() to add new child forms

public
parentForm: Form (read-only)
Form containing this form.

public
parentIsForm: Boolean (read-only)
True if this form's _parent is a form Read-Only: use createChild() to add new child forms

public
rootForm: Form (read-only)
Root form of the form subtree that contains this form Read-Only: use createChild() to add new child forms


visible: Boolean (read, write)
controls whether the form is visible

Properties inherited from class mx.screens.Screen

currentFocusedScreen, indexInParent, numChildScreens, parentIsScreen, parentScreen, rootScreen, transitionManager

Properties inherited from class mx.controls.Loader

autoLoad, bytesLoaded, bytesTotal, content, contentPath, percentLoaded, scaleContent

Properties inherited from class mx.core.View

numChildren, tabIndex

Properties inherited from class mx.core.UIComponent

height, width

Properties inherited from class mx.core.UIObject

bottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y

Constructor


Form ( )
Form class constructor

Method Summary


childLoaded ( obj: MovieClip ): Void
handle fixups when we load a subtree in from an external movie using createChild()


destroyChildAt ( childIndex: Number ): Void
Override from View class.


drawFocus ( )
Private methods Override UIComponent to not draw focus around form

public
getChildForm ( childIndex: Number ): Form
Get the nth child of this form (zero-based)

Methods inherited from class mx.screens.Screen

allTransitionsInDone, allTransitionsOutDone, childLoaded, createChild, createChildren, destroyChildAt, doScaleLoader, drawFocus, getChildScreen

Methods inherited from class mx.controls.Loader

childLoaded, createChildren, dispatchEvent, doScaleContent, doScaleLoader, draw, getAutoLoad, getBytesLoaded, getBytesTotal, getContent, getContentPath, getPercentLoaded, getScaleContent, init, load, setAutoLoad, setContentPath, setScaleContent, setSize, size, unScaleContent

Methods inherited from class mx.core.View

addLayoutObject, childLoaded, convertToUIObject, createChild, createChildren, destroyChildAt, doLayout, draw, extension, getChildAt, init, initLayout, size

Methods inherited from class mx.core.UIComponent

dispatchValueChangedEvent, enabledChanged, findFocusFromObject, findFocusInChildren, getFocus, getFocusManager, init, isParent, onKillFocus, onSetFocus, pressFocus, releaseFocus, setEnabled, setFocus, setVisible, size

Methods inherited from class mx.core.UIObject

__getTextFormat, _createChildren, _getTextFormat, cancelAllDoLaters, constructObject, createChildren, createClassObject, createEmptyObject, createLabel, createObject, createSkin, destroyObject, doLater, doLaterDispatcher, draw, drawRect, getClassStyleDeclaration, getMinHeight, getMinWidth, getSkinIDName, getStyle, getStyleName, init, initFromClipParameters, invalidate, invalidateStyle, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size

Methods inherited from class MovieClip

attachAudio, attachMovie, beginFill, beginGradientFill, clear, createEmptyMovieClip, createTextField, curveTo, duplicateMovieClip, endFill, getBounds, getBytesLoaded, getBytesTotal, getDepth, getInstanceAtDepth, getNextHighestDepth, getSWFVersion, getTextSnapshot, getURL, globalToLocal, gotoAndPlay, gotoAndStop, hitTest, lineStyle, lineTo, loadMovie, loadVariables, localToGlobal, moveTo, nextFrame, onData, onDragOut, onDragOver, onEnterFrame, onKeyDown, onKeyUp, onKillFocus, onLoad, onMouseDown, onMouseMove, onMouseUp, onPress, onRelease, onReleaseOutside, onRollOut, onRollOver, onSetFocus, onUnload, play, prevFrame, removeMovieClip, setMask, startDrag, stop, stopDrag, swapDepths, unloadMovie, valueOf

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

className

var className: String
name of this class

symbolName

static var symbolName: String
SymbolName for object

symbolOwner

static var symbolOwner: Object
Class used in createClassObject


Property Documentation

currentFocusedForm

public static currentFocusedForm: Form (read-only)
Leaf-node form that contains the current focused field or component Read-Only: use setFocus() to set the focus

indexInParentForm

public indexInParentForm: Number (read-only)
zero-based index of this form in its parent (getChildForm) Read-Only: use createChild() to add new child form

numChildForms

public numChildForms: Number (read-only)
number of children of this form that are forms, not including slides Read-Only: use createChild() to add new child forms

parentForm

public parentForm: Form (read-only)
Form containing this form.

May be null for the root form. Read-Only: use createChild() to add new child forms

parentIsForm

public parentIsForm: Boolean (read-only)
True if this form's _parent is a form Read-Only: use createChild() to add new child forms

rootForm

public rootForm: Form (read-only)
Root form of the form subtree that contains this form Read-Only: use createChild() to add new child forms

visible

visible: Boolean (read, write)
controls whether the form is visible

Overrides:


Constructor Documentation

Form

function Form()
Form class constructor


Method Documentation

childLoaded

function childLoaded(obj: MovieClip): Void
handle fixups when we load a subtree in from an external movie using createChild()

Overrides:

Parameters:
obj
the loaded child

destroyChildAt

function destroyChildAt(childIndex: Number): Void
Override from View class.

destroy n'th child form

Overrides:

Parameters:
childIndex
a number from 0 to N-1

drawFocus

function drawFocus()
Private methods Override UIComponent to not draw focus around form

Don't inherit default behavior because screens don't work with skins and it is not appropriate to draw a focus rect for screens

Overrides:

getChildForm

public function getChildForm(childIndex: Number): Form
Get the nth child of this form (zero-based)

Parameters:
childIndex
which form to get

The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc