I’ve completely re-written my ActionScript function. For those who are hearing about it for the first time ActionScript(Object, ‘name_of_the_variable’) – gets complete reusable actionscript string of the Object including circular references.
Now it takes care of special characters in properties and also shows null values properly
Now the actionscript produced is more readable. See the following example for better understanding.
It Produces the following output
You can download the toString.as from the actionscript section of this blog.