Although Flex Builder and Eclipse do have nice debug utilities built in, today I needed a function/method in Actionscript to display into the current application some variables’ content. So I started to implement a var_dump alike function (var_dump from PHP language).
So I started and I made the Debug class that will implement the static dump [...]
If you need to find the class name of an object instance you can use:
className = flash.utils.getQualifiedClassName(yourObject);
This will return a string containing the name of the class that is the base for yourObject. Is very helpful when you need to show errors in big applications.
The returned value is something like this: my.path.to.class::className.