Main Page | Packages | Class Tree | Index | Help

mx.controls

class Loader

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

All Known Subclasses: Screen

class Loader
extends View

Loader class - extends View



Field Summary


__autoLoad: Boolean



__bytesLoaded: Number
stores public "autoLoad" property


__bytesTotal: Number
stores public "bytesLoaded" property


__contentPath: String
stores public "bytesTotal" property


__scaleContent: Boolean
stores public "contentPath" property


className: String



clipParameters: Object



contentHolder: UIComponent
stores public "scaleContent" property


livePreview: TextField


static
mergedClipParameters: Boolean


static
symbolName: String


static
symbolOwner: Object


static
version: String
Copyright (C) 2003 Macromedia, Inc.

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


autoLoad: Boolean (read, write)



bytesLoaded: Number (read-only)



bytesTotal: Number (read-only)



content: UIComponent (read-only)



contentPath: String (read, write)



percentLoaded: Number (read-only)



scaleContent: Boolean (read, write)


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


Loader ( )
Constructor

Method Summary


childLoaded ( obj: MovieClip ): Void



createChildren ( ): Void
create the border behind everything and schedule first layout


dispatchEvent ( obj: Object ): Void



doScaleContent ( ): Void
Private methods


doScaleLoader ( ): Void



draw ( ): Void
redraw by re-laying out


getAutoLoad ( ): Boolean
Public properties autoLoad


getBytesLoaded ( ): Number
bytesLoaded (readonly)


getBytesTotal ( ): Number
bytesTotal (readonly)


getContent ( ): UIComponent
content


getContentPath ( ): String
contentPath


getPercentLoaded ( ): Number
percentLoaded (read-only)


getScaleContent ( ): Boolean



init ( ): Void
Overridden methods


load ( url: String ): Void



setAutoLoad ( b: Boolean ): Void



setContentPath ( url: String ): Void



setScaleContent ( b: Boolean ): Void



setSize ( w: Number, h: Number, noEvent: Boolean ): Void
size the object


size ( ): Void
respond to size changes


unScaleContent ( ): Void


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

__autoLoad

var __autoLoad: Boolean

__bytesLoaded

var __bytesLoaded: Number
stores public "autoLoad" property

__bytesTotal

var __bytesTotal: Number
stores public "bytesLoaded" property

__contentPath

var __contentPath: String
stores public "bytesTotal" property

__scaleContent

var __scaleContent: Boolean
stores public "contentPath" property

className

var className: String

clipParameters

var clipParameters: Object

contentHolder

var contentHolder: UIComponent
stores public "scaleContent" property

livePreview

var livePreview: TextField

mergedClipParameters

static var mergedClipParameters: Boolean

symbolName

static var symbolName: String

symbolOwner

static var symbolOwner: Object

version

static var version: String
Copyright (C) 2003 Macromedia, Inc.

All Rights Reserved. The following is Sample Code and is subject to all restrictions on such code as contained in the End User License Agreement accompanying this product.


Property Documentation

autoLoad

autoLoad: Boolean (read, write)

bytesLoaded

bytesLoaded: Number (read-only)

bytesTotal

bytesTotal: Number (read-only)

content

content: UIComponent (read-only)

contentPath

contentPath: String (read, write)

percentLoaded

percentLoaded: Number (read-only)

scaleContent

scaleContent: Boolean (read, write)

Constructor Documentation

Loader

function Loader()
Constructor


Method Documentation

childLoaded

function childLoaded(obj: MovieClip): Void
Overrides:

Parameters:
obj
the loaded child

createChildren

function createChildren(): Void
create the border behind everything and schedule first layout

Overrides:

dispatchEvent

function dispatchEvent(obj: Object): Void
Overrides:

doScaleContent

function doScaleContent(): Void
Private methods

doScaleLoader

function doScaleLoader(): Void

draw

function draw(): Void
redraw by re-laying out

Overrides:

getAutoLoad

function getAutoLoad(): Boolean
Public properties autoLoad

getBytesLoaded

function getBytesLoaded(): Number
bytesLoaded (readonly)

Overrides:

getBytesTotal

function getBytesTotal(): Number
bytesTotal (readonly)

Overrides:

getContent

function getContent(): UIComponent
content

getContentPath

function getContentPath(): String
contentPath

getPercentLoaded

function getPercentLoaded(): Number
percentLoaded (read-only)

getScaleContent

function getScaleContent(): Boolean

init

function init(): Void
Overridden methods

Overrides:

load

function load(url: String): Void

setAutoLoad

function setAutoLoad(b: Boolean): Void

setContentPath

function setContentPath(url: String): Void

setScaleContent

function setScaleContent(b: Boolean): Void

setSize

function setSize(w: Number,
 h: Number,
 noEvent: Boolean): Void
size the object

Overrides:

Parameters:
w
width of the object
h
height of the object
noEvent
if true, doesn't broadcast "resize" event

size

function size(): Void
respond to size changes

Overrides:

unScaleContent

function unScaleContent(): Void

The documentation was generated from the following file:


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