Loader
| Kind of class: | class |
|---|---|
| Inherits from: | View < UIComponent < UIObject < MovieClip |
| Known subclasses: | |
| Classpath: | mx.controls.Loader |
| File last modified: | Tuesday, 18 December 2007, 15:44:37 |
Component metadata:
| Event | "complete" |
|---|
Summary
Constructor
Class properties
- symbolName : String
- symbolOwner : Object
- version : String
- mergedClipParameters : Boolean
Class properties inherited from View
Class properties inherited from UIComponent
Class properties inherited from UIObject
Instance properties
- className : String
- clipParameters : Object
- __autoLoad : Boolean
- __bytesLoaded : Number
- __bytesTotal : Number
- __contentPath : String
- __scaleContent : Boolean
- contentHolder : UIComponent
- livePreview : TextField
- _origWidth : Number
- _origHeight : Number
- percentLoaded : Number
- scaleContent : Boolean
Instance properties inherited from View
Instance properties inherited from UIComponent
Instance properties inherited from UIObject
__height __onUnload __width _color _endInit _id _maxHeight _maxWidth _minHeight _minWidth _preferredHeight _preferredWidth _tf _topmost addEventListener bottom buildDepthTable changeColorStyleInChildren changeTextStyleInChildren childrenCreated className clipParameters color createAccessibilityImplementation createChildAtDepth createClassChildAtDepth createEvent dispatchEvent embedFonts findNextAvailableDepth fontFamily fontSize fontStyle fontWeight handleEvent height idNames ignoreClassStyleDeclaration initProperties invalidateFlag left lineColor lineWidth marginLeft marginRight methodTable minHeight minWidth notifyStyleChangeInChildren removeEventListener right scaleX scaleY setStyle stylecache styleName tabEnabled textAlign textDecoration textIndent tfList top validateNow visible width x y
Class methods
Class methods inherited from UIObject
Instance methods
- init : Void
- setSize (w:Number, h:Number, noEvent:Boolean) : Void
- size the object
- draw : Void
- size : Void
- createChildren : Void
- getAutoLoad : Boolean
- getScaleContent : Boolean
- setScaleContent (b:Boolean) : Void
- load (url:String) : Void
- childLoaded (obj:MovieClip) : Void
- dispatchEvent (obj:Object) : Void
- doScaleContent : Void
- doScaleLoader : Void
- unScaleContent : Void
Instance methods inherited from View
Instance methods inherited from 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 move redraw setColor setMinHeight setMinWidth setSize setSkin setVisible size
Event handlers
Event handlers inherited from UIComponent
Constructor
Loader
function Loader (
)
Class properties
mergedClipParameters
static mergedClipParameters:Boolean = UIObject.mergeClipParameters(Loader.prototype.clipParameters, View.prototype.clipParameters)
(read)
symbolName
static symbolName:String = "Loader"
(read)
symbolOwner
static symbolOwner:Object = mx.controls.Loader
(read)
version
static version:String = "2.0.2.127"
(read)
Instance properties
__autoLoad
__autoLoad:Boolean = true
(read)
__bytesLoaded
__bytesLoaded:Number = undefined
(read)
__bytesTotal
__bytesTotal:Number = undefined
(read)
__contentPath
__contentPath:String = undefined
(read)
__scaleContent
__scaleContent:Boolean = true
(read)
_origHeight
_origHeight:Number
(read)
_origWidth
_origWidth:Number
(read)
className
className:String = "Loader"
(read)
clipParameters
clipParameters:Object = { autoLoad: 1, scaleContent: 1, contentPath: 1 }
(read)
contentHolder
livePreview
livePreview:TextField
(read)
percentLoaded
percentLoaded:Number
(read)
Component metadata:
| Bindable | "readonly" |
|---|---|
| ChangeEvent | "progress" |
| Inspectable | defaultValue: "" defaultValue: true |
scaleContent
scaleContent:Boolean
(read,write)
Component metadata:
| Inspectable | defaultValue: true |
|---|
Instance methods
dispatchEvent
function dispatchEvent (
obj:Object) : Void
doScaleContent
function doScaleContent (
) : Void
doScaleLoader
function doScaleLoader (
) : Void
getAutoLoad
function getAutoLoad (
) : Boolean
getScaleContent
function getScaleContent (
) : Boolean
load
function load (
url:String) : Void
setScaleContent
function setScaleContent (
b:Boolean) : Void
unScaleContent
function unScaleContent (
) : Void