Packageorg.apache.flex.utils.dbg
Classpublic class DOMPathUtil
InheritanceDOMPathUtil Inheritance Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The DOMPathUtil class is a tracks instances of display objects and provides a unique string for each one based on its position in the tree of display objects. It is generally used for trace output. If you think you need this for production applications you might want to re-think your design.



Public Methods
 MethodDefined By
  
getPath(obj:Object):String
[static] Returns a string for an object.
DOMPathUtil
Method Detail
getPath()method
public static function getPath(obj:Object):String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Returns a string for an object. IF the object is parented, it creates a string based on the DOMPathUtil of the parent.

Parameters

obj:Object — The object to generate a path/name for.

Returns
String — The unique name based on the parents.