class org.aswing.util.DepthManager
DepthManager to manage the depth of display objects.
@author paling
Class Fields
static function bringToBottom(mc:DisplayObject): Void
Bring the mc to all brother mcs' bottom. @see #isBottom()
mc | the mc to be set to bottom |
static function isBottom(mc:DisplayObject): Bool
Returns if the mc is at bottom depth.
mc | the mc to be set to bottom |
returns | is the mc is at the bottom |
static function isJustAbove(mc:DisplayObject, belowMC:DisplayObject): Bool
Returns if mc is just first above the belowMC. if them don't have the same parent, whatever depth they has just return false. @see #isJustBelow
static function isJustBelow(mc:DisplayObject, aboveMC:DisplayObject): Bool
Return if mc is just first bebow the aboveMC. if them don't have the same parent, whatever depth they has just return false.
static function isTop(mc:DisplayObject): Bool
Returns is the mc is on the top depths in DepthManager's valid depths. Valid depths is that depths from MINDEPTH to MAXDEPTH.