A small piece of AS code that saves a lot of my debug time and frustrations...
Mostly use while understanding the remote object structure.
//code:
//Alerting the hashmap contents
var str = "";
for(var k:String in hashMap)
{
str += k + ":" + hashMap[k] + "\n";
}
Alert.show("Printing hash map : \n" + str);
No comments:
Post a Comment