Field Summary |
static
| __depthManager: DepthManager |
| this technique guarantees that the depthManager is created and adds to the base class when this package is included in a SWF
|
|
| _childCounter: Number |
| the rest of these methods are added to UIObject the methods use the following properties and methods on UIObject.
|
|
| _parent: MovieClip |
|
|
|
| _topmost: Boolean |
|
|
|
| createClassObject: Function |
|
|
|
| createObject: Function |
|
|
|
| getDepth: Function |
|
|
|
static
| highestDepth: Number |
| highest depth for all other objects
|
|
static
| kBottom: Number |
| constant used in calls to createClassChildtAtDepth/createChildAtDepth
|
|
static
| kCursor: Number |
| constant used in calls to createClassObjectAtDepth/createObjectAtDepth
|
|
static
| kNotopmost: Number |
| constant used in calls to createClassChildtAtDepth/createChildAtDepth
|
|
static
| kTooltip: Number |
| constant used in calls to createClassObjectAtDepth/createObjectAtDepth
|
|
static
| kTop: Number |
| constant used in calls to createClassChildtAtDepth/createChildAtDepth
|
|
static
| kTopmost: Number |
| constant used in calls to createClassChildtAtDepth/createChildAtDepth
|
|
static
| lowestDepth: Number |
| lowest allowed depth
|
|
static
| numberOfAuthortimeLayers: Number |
| lowest depth plus this number of layers is reserved for statically placed content
|
|
static
| reservedDepth: Number |
| highest allowed depth is reserved for tooltips and cursors
|
|
| swapDepths: Function |
|
|
|
|
Constructor |
| DepthManager (
)
|
| Only one depth manager is needed.
|
|
Method Summary |
| buildDepthTable (
Void
): Array |
|
|
|
| createChildAtDepth (
linkageName: String, depthFlag: Number, initObj: Object
): MovieClip |
| create an instance of a symbol at a depth relative to other content
|
|
| createClassChildAtDepth (
className: Function, depthFlag: Number, initObj: Object
): UIObject |
| create an instance of a class at a depth relative to other content
|
|
static
| createClassObjectAtDepth (
className: Object, depthSpace: Number, initObj: Object
): UIObject |
| create an instance of a class at a depth relative to other content
|
|
static
| createObjectAtDepth (
linkageName: String, depthSpace: Number, initObj: Object
): MovieClip |
| create an instance of a symbol at a depth relative to other content
|
|
| findNextAvailableDepth (
targetDepth: Number, depthTable: Array, direction: String
): Number |
|
|
|
| getDepthByFlag (
depthFlag: Number, depthTable: Array
): Number |
|
|
|
| setDepthAbove (
targetInstance: MovieClip
): Void |
| set this object above the target object, moving other objects including the target object to make room if needed
|
|
| setDepthBelow (
targetInstance: MovieClip
): Void |
| set this object below the target object, moving other objects including the target object to make room if needed
|
|
| setDepthTo (
depthFlag: Number
): Void |
| set this object at a particular depth, moving other objects to make room if needed
|
|
| shuffleDepths (
subject: MovieClip, targetDepth: Number, depthTable: Array, direction: String
): Void |
|
|
|
static
| sortFunction (
a: MovieClip, b: MovieClip
): Number |
| sort the depths in the array of depths.
|
|
static
| test (
depth: Number
): Boolean |
| true if it is the reserved depth
|
|
|
|