showObjHierarchy v1.23


Download the source file


A debug utility that allows to trace out properties of any object/function object
recursively

Works in ActionScript 2.0 as well. Just put this .as file into the folder:
\Macromedia\Flash MX 2004\en\First Run\Include
and type in
#include "showObjHierarchy.as"
in your .fla.

Usage 1 :
showObjHierarchy(myObject);

Usage 2 :
showObjHierarchy(myObject, true);
// 'true' exposes the hidden properties using ASSetPropFlags

Usage 3 :
showObjHierarchy(myObject, true, true);
/* The last 'true' stops it from enumerating objects equal to Object.prototype such as MovieClip.prototype.__proto__ */

 


Back to Flash Home

Copyright©2000-2002 STUDIO FIRST RAYS. All rights reserved