GUI.Debug.Debug

Summary
GUI.Debug.Debug
Variables
m_Instance
Functions
OpenDebugWindowLoads a new instance of a debug window.
TraceObjectTrace an object from chatline.
RecurseObjectUse TraceObject(..)
TraceHitTestChecks what object the mouse is currently over and traces it’s full path.
RecurseHitTestUse TraceObject(..)

Variables

m_Instance

static public var m_Instance: Number

Functions

OpenDebugWindow

static function OpenDebugWindow()

Loads a new instance of a debug window.

TraceObject

static function TraceObject(path: String,
depth: Number,
type: String)

Trace an object from chatline.  Ex.1 /aseval com.Utils.Debug.TraceObject _root 6 movieclip This will show all movieclips and their childs down to a depth of 6.  Will show movieclip x,y,w,h,vis,alp.  Ex.2 /aseval com.Utils.Debug.TraceObject _global.Game.Quests.m_PlayerTiers 2 Will show 2 layers of the playertiers objects.

pathFull path to the object.
depthNumber of depths to show.
type”movieclip” or nothing.

RecurseObject

static function RecurseObject(name: String,
root: Object,
depth: Number,
type: String)

Use TraceObject(..) if you can.  Recurse an object to show all it’s properties.  Internal function, but can be used when debugging code if you don’t have the full path to the object and TraceObject can’t be used.

pathFull path to the object.
depthNumber of depths to show.
type”movieclip” or nothing.

TraceHitTest

static function TraceHitTest()

Checks what object the mouse is currently over and traces it’s full path.

RecurseHitTest

static function RecurseHitTest(name: String,
root: Object)

Use TraceObject(..) if you can.  Recurse an object to show all it’s properties.  Internal function, but can be used when debugging code if you don’t have the full path to the object and TraceObject can’t be used.

nameThe name of the object.
rootThe object
static public var m_Instance: Number
static function OpenDebugWindow()
Loads a new instance of a debug window.
static function TraceObject(path: String,
depth: Number,
type: String)
Trace an object from chatline.
static function RecurseObject(name: String,
root: Object,
depth: Number,
type: String)
Use TraceObject(..)
static function TraceHitTest()
Checks what object the mouse is currently over and traces it’s full path.
static function RecurseHitTest(name: String,
root: Object)
Use TraceObject(..)
Close