Main Page | Packages | Class Tree | Index | Help

mx.core

class ExternalContent

Object
  |
  +--mx.core.ExternalContent


class ExternalContent
extends Object



Field Summary


childLoaded: Function


static
classConstructed: Boolean



createObject: Function



dispatchEvent: Function



doLater: Function



loadList: Object
list of things currently loading key is instanceID value is { obj: , url: , complete: }


numChildren: Number
list of things completely loaded.


prepList: Object
list of things waiting to be emptied key is instanceID value is { obj: , url: , complete: }

static
ViewDependency


Fields inherited from class Object

__proto__, constructor, prototype

Method Summary


checkLoadProgress ( ): Void
now that we're loading new content, see how we're doing

static
classConstruct ( ): Boolean



contentLoaded ( ): Void
completely loaded.


convertToUIObject ( obj: MovieClip ): Void
anything that gets loadmovie'd is just a movieclip.

static
enableExternalContent ( ): Void



loadExternal ( url: String, placeholderClassName: String, instanceName: String, depth: Number, initProps: Object ): MovieClip



prepareToLoadMovie ( obj: MovieClip ): Void
request to empty the contents before loading new content


waitForUnload ( ): Void
checkt to see if we're empty

Methods inherited from class Object

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



Field Documentation

childLoaded

var childLoaded: Function

classConstructed

static var classConstructed: Boolean

createObject

var createObject: Function

dispatchEvent

var dispatchEvent: Function

doLater

var doLater: Function

loadList

var loadList: Object
list of things currently loading key is instanceID value is { obj: , url: , complete: }

numChildren

var numChildren: Number
list of things completely loaded.

key is instanceID value is {obj: , url: , complete: }

prepList

var prepList: Object
list of things waiting to be emptied key is instanceID value is { obj: , url: , complete: }

ViewDependency

static var ViewDependency

Method Documentation

checkLoadProgress

function checkLoadProgress(): Void
now that we're loading new content, see how we're doing

classConstruct

static function classConstruct(): Boolean

contentLoaded

function contentLoaded(): Void
completely loaded.

Had to wait for a bit to make sure _width and _height were set correctly.

convertToUIObject

function convertToUIObject(obj: MovieClip): Void
anything that gets loadmovie'd is just a movieclip.

There's no way to make it a component except by doing this

enableExternalContent

static function enableExternalContent(): Void

loadExternal

function loadExternal(url: String,
 placeholderClassName: String,
 instanceName: String,
 depth: Number,
 initProps: Object): MovieClip

prepareToLoadMovie

function prepareToLoadMovie(obj: MovieClip): Void
request to empty the contents before loading new content

waitForUnload

function waitForUnload(): Void
checkt to see if we're empty


The documentation was generated from the following file:


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