Print out object in Flex

In Flex, object could be a lot of things, check here, you can see a flex object could be a Java map or dictionary. To check out its content could be really desirable, here is a useful function:
import mx.utils.ObjectUtil;

trace(ObjectUtil.toString(obj));
This will print out the content of the object very neatly.