I was looking into what I could do with error logging and throwing, and found StackTraceElement by pressing Ctrl+Space in Flex Builder 2.
However, I can't find anything in the docs, nor anything Flex 2 or AS3 related on Google. I was able to Ctrl+Click it and found the definition in Global.as. In there it mentions: "A StackTraceElement provides programmatic access to the elements of the call stack. A string representation of StackTraceElement objects is returned by the Error.getStackTrace() method." In FB2 I can instantiate it and see the properties of the instance, but I have no idea what to do with it. Ideally I would like to create a stack to pass to some custom error handling, and get a hold of each element from the stack after a thrown error (not getStackTrace, which returns only a string version). So, does anyone know anything about the StackTraceElement class? -- Derek Vadneau

