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. […]